Fixup up two more places with kvm removal.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
ubuntu-cloud-minimal-tmp
Dimitri John Ledkov 1 year ago
parent 5cd0542da5
commit c18d3f75ad
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

@ -406,10 +406,9 @@ EOF
chroot mountpoint grub-install --target=i386-pc "${loop_device}" chroot mountpoint grub-install --target=i386-pc "${loop_device}"
fi fi
# Use the linux-kvm kernel for minimal images where available # Use initrdless boot for minimal images
# linux-kvm currently only exists for amd64 if [ "${SUBPROJECT:-}" = "minimized" ]; then
if [ "${SUBPROJECT:-}" = "minimized" ] && [ "$ARCH" = "amd64" ]; then force_boot_without_initramfs ${mountpoint}
replace_kernel mountpoint linux-kvm
fi fi
# This call to rewrite the debian package manifest is added here to capture # This call to rewrite the debian package manifest is added here to capture

@ -2,7 +2,6 @@ depends root-dir
depends tarball depends tarball
depends squashfs depends squashfs
depends disk-image depends disk-image
depends kvm
depends qcow2 depends qcow2
depends vmdk depends vmdk
depends vagrant depends vagrant

Loading…
Cancel
Save