mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-30 21:31:32 +00:00
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.
This commit is contained in:
parent
8a2cdec470
commit
e8e3e6760f
@ -49,9 +49,6 @@ replace_kernel ${mount_d} "linux-kvm"
|
|||||||
chroot "${mount_d}" update-grub
|
chroot "${mount_d}" update-grub
|
||||||
undivert_grub "${mount_d}"
|
undivert_grub "${mount_d}"
|
||||||
|
|
||||||
env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" rm \
|
|
||||||
-rf /boot/initrd.img-* /boot/initrd.img
|
|
||||||
|
|
||||||
# Remove indices
|
# Remove indices
|
||||||
env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" apt-get \
|
env DEBIAN_FRONTEND=noninteractive chroot "${mount_d}" apt-get \
|
||||||
clean
|
clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user