slimy hack to get a casper-ized initrd in place

This commit is contained in:
Michael Hudson-Doyle 2017-12-13 10:07:14 +13:00
parent 26753602fe
commit 6ddf832b20
2 changed files with 5 additions and 1 deletions

2
debian/changelog vendored
View File

@ -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.

View File

@ -40,8 +40,12 @@ setup_mountpoint binary/boot/squashfs.dir
chroot $SQUASH_ROOT apt-get update
chroot $SQUASH_ROOT apt-get -y install user-setup
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
# Don't let cloud-init run in the live session.
touch $SQUASH_ROOT/etc/cloud/cloud-init.disabled