From e8e3e6760f058857e2b19ff1b7fa193715e9acf0 Mon Sep 17 00:00:00 2001 From: David Krauser Date: Mon, 6 Jul 2020 16:38:21 -0400 Subject: [PATCH] Drop hack in kvm image that forces initramfs-less boot Since the kvm image now boots without an initramfs by default, we don't need to force it in the build hook. --- live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary | 3 --- 1 file changed, 3 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary b/live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary index 094cb375..f9782d0b 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary @@ -49,9 +49,6 @@ replace_kernel ${mount_d} "linux-kvm" chroot "${mount_d}" update-grub undivert_grub "${mount_d}" -env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" rm \ - -rf /boot/initrd.img-* /boot/initrd.img - # Remove indices env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" apt-get \ clean