mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
sigh
This commit is contained in:
parent
0113b9aad7
commit
8c8b16b5e6
@ -43,7 +43,7 @@ chroot $SQUASH_ROOT apt-get -y install lupin-casper
|
|||||||
|
|
||||||
# Installing lupin-casper means we need a new initramfs, so we
|
# Installing lupin-casper means we need a new initramfs, so we
|
||||||
# cargo cult stuff from lb_chroot_hacks:
|
# 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
|
for INITRAMFS in $(find $SQUASH_ROOT/boot -name 'initrd*' -not -type l); do
|
||||||
zcat "${INITRAMFS}" | lzma -c -6 > "${INITRAMFS}.new"
|
zcat "${INITRAMFS}" | lzma -c -6 > "${INITRAMFS}.new"
|
||||||
mv "${INITRAMFS}.new" "${INITRAMFS}"
|
mv "${INITRAMFS}.new" "${INITRAMFS}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user