scripts: tizen: sd_fusing_xu4: Fix start position of extended partitions 68/217968/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Nov 2019 05:45:46 +0000 (14:45 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Nov 2019 05:55:59 +0000 (14:55 +0900)
commita14da3b641e508a65cd3cbdad7c6a85ce8e91de7
treeb5eb2e06245b62a976e3f36439c8262159a0a594
parent7618800546d4eef9522bc5b2853603b81f0498eb
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