scripts: tizen: sd_fusing_rpi3: Fix start position of extended partitions
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 15 Nov 2019 10:46:40 +0000 (19:46 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:48 +0000 (15:13 +0900)
commitf8f39ca02fa410e6dd17a9dcbcf2a96bdbb3694d
tree8305fb694fdb9719972c5845fcfdaf12d51cab1b
parent7459626e74e2e80d028536103560b314cf6af4de
scripts: tizen: sd_fusing_rpi3: 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: I6d5bae06e4cd871075259d406d349c4ac63fab40
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_rpi3.sh