From 8c8b16b5e6c63de7d8c175e4c3b1779b1e371fd9 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Wed, 13 Dec 2017 19:27:37 +1300 Subject: [PATCH] sigh --- live-build/ubuntu-server/hooks/032-installer-squashfs.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary index e5e94ed4..a6bc08a1 100755 --- a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary +++ b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary @@ -43,7 +43,7 @@ chroot $SQUASH_ROOT apt-get -y install lupin-casper # Installing lupin-casper means we need a new initramfs, so we # cargo cult stuff from lb_chroot_hacks: -chroot $SQUASH_ROOT CASPER_GENERATE_UUID=1 update-initramfs -k all -t -u +CASPER_GENERATE_UUID=1 chroot $SQUASH_ROOT update-initramfs -k all -t -u for INITRAMFS in $(find $SQUASH_ROOT/boot -name 'initrd*' -not -type l); do zcat "${INITRAMFS}" | lzma -c -6 > "${INITRAMFS}.new" mv "${INITRAMFS}.new" "${INITRAMFS}"