[neon/neon/livecd-rootfs/Neon/release-lts] live-build/ubuntu-cpc/hooks.d/base: Drop hack in kvm image that forces initramfs-less boot

Pat Viafore null at kde.org
Fri Mar 12 10:45:26 GMT 2021


Git commit 4030c8bc5a5cc8377512a3f0bba040c677246243 by Pat Viafore, on behalf of David Krauser.
Committed on 18/02/2021 at 21:40.
Pushed by jriddell into branch 'Neon/release-lts'.

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.

M  +0    -3    live-build/ubuntu-cpc/hooks.d/base/kvm-image.binary

https://invent.kde.org/neon/neon/livecd-rootfs/commit/4030c8bc5a5cc8377512a3f0bba040c677246243

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



More information about the Neon-commits mailing list