scripts: tizen: sd_fusing_rpi3: adjust extended partition size calculation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 22 Jan 2021 10:57:03 +0000 (11:57 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 05:48:06 +0000 (14:48 +0900)
commit8d9e80cd561fadd44bf8128920b8bd6c6073ee0c
tree3e191bf198bd14641407ab04b48d8f03e824efcd
parenta412d1355d3615808868cbdee39636ee2348bc15
scripts: tizen: sd_fusing_rpi3: adjust extended partition size calculation

With so many partitions defined (currently 11), the extended partition
has to be larger regardless the sfdisk tool version, otherwise, the last
partition will be smaller than the requested size.

Without this fix, fdisk from util-linux 2.33.1 creates the last partition
of 125,5M instead of 128M.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ib4cc3608bc6050b59ece57e803246d465185d65b
scripts/tizen/sd_fusing_rpi3.sh