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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 12:00:22 +0000 (13:00 +0100)
commit9997e7bd113174977c2bd2a2f818d51e1fd989fb
tree42afa59472f1a64de17ef573fa0db5839562e538
parent8081bafcb78e43ebd6d0f06cc73efe0ba7d07ae0
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