slimy hack to get a casper-ized initrd in place

ubuntu/cosmic
Michael Hudson-Doyle 7 years ago
parent 26753602fe
commit 6ddf832b20

2
debian/changelog vendored

@ -1,4 +1,4 @@
livecd-rootfs (2.488~ppa1) bionic; urgency=medium livecd-rootfs (2.488~ppa2) bionic; urgency=medium
* Move casper from filesystem.squashfs to installer.squashfs. * Move casper from filesystem.squashfs to installer.squashfs.

@ -40,8 +40,12 @@ setup_mountpoint binary/boot/squashfs.dir
chroot $SQUASH_ROOT apt-get update chroot $SQUASH_ROOT apt-get update
chroot $SQUASH_ROOT apt-get -y install user-setup chroot $SQUASH_ROOT apt-get -y install user-setup
chroot $SQUASH_ROOT apt-get -y install lupin-casper chroot $SQUASH_ROOT apt-get -y install lupin-casper
mv $SQUASH_ROOT/boot/initrd.img-* livecd.ubuntu-server.initrd-generic
chroot $SQUASH_ROOT apt-get -y install curtin chroot $SQUASH_ROOT apt-get -y install curtin
# Don't let cloud-init run in the live session. # Don't let cloud-init run in the live session.
touch $SQUASH_ROOT/etc/cloud/cloud-init.disabled touch $SQUASH_ROOT/etc/cloud/cloud-init.disabled

Loading…
Cancel
Save