Revert change that adds a *sixth* argument to create_empty_partition; this can't possibly be the cause of whatever problem was being seen

This commit is contained in:
Steve Langasek 2016-02-08 17:01:04 -08:00
parent 0f12265055
commit 6bd644f252

View File

@ -49,9 +49,9 @@ if [ -n "$BOOTPART_START" ]; then
ROOTPART=2
ROOTPART_START="$BOOTPART_END"
ROOT_BOOTABLE=
create_empty_partition "$disk_image" 1 "$BOOTPART_START" "$BOOTPART_END" 1 "$ROOT_BOOTABLE"
create_empty_partition "$disk_image" 1 "$BOOTPART_START" "$BOOTPART_END" 1
fi
create_empty_partition "${disk_image}" "$ROOTPART" "$ROOTPART_START" -1 $ROOT_BOOTABLE
create_empty_partition "${disk_image}" "$ROOTPART" "$ROOTPART_START" -1 "$ROOT_BOOTABLE"
mount_image "${disk_image}" "$ROOTPART"