Dynamic Partitions: fix bug related to maps having many extents 39/305639/2 accepted/tizen/unified/20240214.163943 accepted/tizen/unified/toolchain/20240311.065550 accepted/tizen/unified/x/20240219.013911
authorJacek Kryszyn <j.kryszyn@samsung.com>
Mon, 5 Feb 2024 14:49:56 +0000 (15:49 +0100)
committerJacek Kryszyn <j.kryszyn@samsung.com>
Thu, 8 Feb 2024 21:29:19 +0000 (22:29 +0100)
commit335d3cc6e18aaa24a792a998eff9032a78734a32
tree33ecd1c59486eb711308c21291f1ce1c5fc02857
parent165cd2a28084026d6a65e521829354f4baadc1cf
Dynamic Partitions: fix bug related to maps having many extents

A dynamic partition can consist of more than one extent. In such
a case, parse-dynparts with --list-tables option would output one
line per partition and partitions having many extents would have
those extents separated with \n string. Such a line would be later
echoed to dmsetup. Echo without -e does not break lines so the
output directed to dmsetup would be incorrect. This patch fixes
this problem.

Change-Id: Ib8bc16c117b3233dd95cf6ac3abc01b26dacff72
scripts/init.sh