Dynamic Partitions: fix bug related to maps having many extents 40/305640/2 accepted/tizen/unified/20240214.163946 accepted/tizen/unified/toolchain/20240311.065556 accepted/tizen/unified/x/20240219.013807
authorJacek Kryszyn <j.kryszyn@samsung.com>
Mon, 5 Feb 2024 14:59:41 +0000 (15:59 +0100)
committerJacek Kryszyn <j.kryszyn@samsung.com>
Thu, 8 Feb 2024 21:27:23 +0000 (22:27 +0100)
commitb216c84c18a2a3de81bd2373338b1cdb1e35b72a
tree8cb6ae403e0d6c75072c66636a400d5b534448ad
parentd9b5c121d7918ad2fd79c0d9f368353110ec2825
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: Ib1a75bbd6341f79d03f0793b5d9d5b3b4b40e4d4
src/bootmode-fota/fota-init.sh