diff --git a/debian/changelog b/debian/changelog index e35f6710..247cfdc2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,7 +32,8 @@ livecd-rootfs (2.376ubuntu1) UNRELEASED; urgency=medium build. Otherwise ubuntu-minimal is removed, and things get crazy. * Correct initrd.img symlink, kernel/hooks should actually produce the right thing here, but meh. - * Chroot to execute zipl, fails to boot otherwise. + * Chroot to execute zipl, because it's nice. + * Use the right loop device to install zipl onto. -- Ben Howard Sun, 07 Feb 2016 16:59:41 -0700 diff --git a/live-build/ubuntu-cpc/hooks/032-disk-image.binary b/live-build/ubuntu-cpc/hooks/032-disk-image.binary index f9fee4b1..b5104ad4 100755 --- a/live-build/ubuntu-cpc/hooks/032-disk-image.binary +++ b/live-build/ubuntu-cpc/hooks/032-disk-image.binary @@ -118,7 +118,7 @@ EOF --ramdisk=/boot/initrd.img \ --parameters='root=LABEL=cloudimg-rootfs' \ --target=/boot/ \ - --targetbase=/dev/loop0 \ + --targetbase=$loop_device \ --targettype=SCSI \ --targetblocksize=512 \ --targetoffset=2048