scripts: tizen: sd_fusing_rpi3: Fix start position of extended partitions 02/217902/2
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 15 Nov 2019 10:46:40 +0000 (19:46 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Nov 2019 05:55:59 +0000 (14:55 +0900)
commit7618800546d4eef9522bc5b2853603b81f0498eb
tree718e0617fb0653a71e24ec967a9d1c047878759e
parentbf9e08627bc3654aac30c35e4f8f56b27f8083d8
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