tar2fs: fixed empty space between section 1 and 2 on ppc64le

This commit is contained in:
Anton Midyukov 2020-01-22 00:45:42 +07:00
parent fc67e5a8c2
commit f6449ec0ec

View File

@ -194,8 +194,8 @@ fi
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
case "$ARCH" in
ppc*)
parting mkpart primary ext2 2048s ${BOOTLOADERPARTSIZEM}M
CUR_BOUNDARY="$(($CUR_BOUNDARY + $BOOTLOADERPARTSIZEM))"
parting mkpart primary ext2 2048s $((BOOTLOADERPARTSIZEM + 1))MiB
CUR_BOUNDARY="$BOOTLOADERPARTSIZEM"
parting set 1 prep on
parting set 1 boot on
;;