mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-07 00:41:40 +00:00
remove cloud-initramfs-copymods before installing kernel
This commit is contained in:
parent
7167e3718b
commit
460332296b
@ -47,6 +47,10 @@ for variant in $variants; do
|
|||||||
mount_overlay "$INSTALLER_ROOT/" "$KERNEL_BITS_OVERLAY/" "$KERNEL_BITS_ROOT/"
|
mount_overlay "$INSTALLER_ROOT/" "$KERNEL_BITS_OVERLAY/" "$KERNEL_BITS_ROOT/"
|
||||||
setup_mountpoint $KERNEL_BITS_ROOT
|
setup_mountpoint $KERNEL_BITS_ROOT
|
||||||
|
|
||||||
|
# Our initramfs hook implements a kind of extreme version of
|
||||||
|
# cloud-initramfs-copymods, so remove that and prevent duelling hooks
|
||||||
|
env DEBIAN_FRONTEND=noninteractive chroot $KERNEL_BITS_ROOT apt-get -y remove cloud-initramfs-copymods ubuntu-server || true
|
||||||
|
|
||||||
# Configure initramfs creation
|
# Configure initramfs creation
|
||||||
mkdir -p "$KERNEL_BITS_ROOT"/etc/initramfs-tools/conf.d/
|
mkdir -p "$KERNEL_BITS_ROOT"/etc/initramfs-tools/conf.d/
|
||||||
if [ -n "$LB_INITRAMFS_COMPRESSION" ]; then
|
if [ -n "$LB_INITRAMFS_COMPRESSION" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user