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.
sil2100/riscv-unmatched-unleashed
David Krauser 5 years ago committed by Pat Viafore
parent c81f4ca2e3
commit 4030c8bc5a
No known key found for this signature in database
GPG Key ID: 20C739856E05C9D1

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

Loading…
Cancel
Save