scripts: tizen: sd_fusing_xu4: Fix start position of extended partitions
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Nov 2019 05:45:46 +0000 (14:45 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:48 +0000 (15:13 +0900)
commit66d9df507977e6ad72c2ecbd961a17da4a3f88c6
tree13aafcdfd263c6f43781c45292b74d992bfb6cc2
parentf8f39ca02fa410e6dd17a9dcbcf2a96bdbb3694d
scripts: tizen: sd_fusing_xu4: Fix start position of extended partitions

Older version sfdisk than 2.26 does not align the start and end
of partitions to block, and it breaks the size of paritions less
than requested. Fix start position of extended partitions by
calculation to guarantee the requested size.

Change-Id: I2e5a6c72550f71f213c2d7352b537c1b12d13670
Ref: http://man7.org/linux/man-pages/man8/sfdisk.8.html
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
scripts/tizen/sd_fusing_xu4.sh