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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:19:26 +0000 (11:19 +0100)
commita194c453e6365aac5cc33978c11458f0b3df0fa9
treea6a508cf4efa5c82d251893ac4e502f6cf321943
parent2b66656ed52f692c58b5e69b91fcffc507ef930f
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