From 6bd644f25280423b8b50cd8b3db1a2bdec0f200e Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 8 Feb 2016 17:01:04 -0800 Subject: [PATCH] Revert change that adds a *sixth* argument to create_empty_partition; this can't possibly be the cause of whatever problem was being seen --- live-build/ubuntu-cpc/hooks/032-disk-image.binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks/032-disk-image.binary b/live-build/ubuntu-cpc/hooks/032-disk-image.binary index bad86fa6..1c7f71c2 100755 --- a/live-build/ubuntu-cpc/hooks/032-disk-image.binary +++ b/live-build/ubuntu-cpc/hooks/032-disk-image.binary @@ -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"