From 8b47481862beb7674b3af0f38130f5e3dcb70982 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 6 Jun 2018 17:34:07 -0700 Subject: [PATCH] Import patches-unapplied version 2.531 to ubuntu/cosmic-proposed Imported using git-ubuntu import. Changelog parent: d9fe4558cfaf48e584d5bdeb949f0f1510e76217 New changelog entries: [ Daniel Watkins ] * ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472). [ Steve Langasek ] * live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually install grub-efi-amd64 since that forces off grub-pc, which is otherwise now coinstallable. --- debian/changelog | 12 ++++++++++++ live-build/auto/config | 13 +++---------- .../ubuntu-cpc/hooks/033-disk-image-uefi.binary | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/debian/changelog b/debian/changelog index 63db68e5..6d216eaf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +livecd-rootfs (2.531) cosmic; urgency=medium + + [ Daniel Watkins ] + * ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472). + + [ Steve Langasek ] + * live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually + install grub-efi-amd64 since that forces off grub-pc, which is otherwise + now coinstallable. + + -- Steve Langasek Wed, 06 Jun 2018 17:34:07 -0700 + livecd-rootfs (2.530) cosmic; urgency=medium * ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233). diff --git a/live-build/auto/config b/live-build/auto/config index 069a69dc..da99afa1 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -600,16 +600,9 @@ case $PROJECT in if [ "${SUBPROJECT:-}" = minimized ]; then add_task install cloud-image add_package install sudo - # linux-kvm currently only exists in xenial, not in - # non-LTS suites. Fall back to virtual flavor, which - # may or may not boot initramfsless but enables us to - # test building and possibly build derivative images - # using other kernel flavors. - # If you enable an extra ppa, it is assumed that - # linux-kvm is available since you control the - # archive and can provide this metapackage as - # necessary. - if [ "$ARCH" = "amd64" ] && ([ -n "$EXTRA_PPAS" ] || [ "$SUITE" = xenial ] || [ "$SUITE" = bionic ]); then + # linux-kvm currently only exists for amd64, so fall back to the + # virtual flavour for other architectures + if [ "$ARCH" = "amd64" ]; then KERNEL_FLAVOURS=kvm else KERNEL_FLAVOURS=virtual diff --git a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary index 83cc466d..56328150 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -88,7 +88,7 @@ install_grub() { efi_target=arm-efi ;; amd64) - chroot mountpoint apt-get install -qqy grub-efi-amd64-signed grub-efi-amd64 shim-signed + chroot mountpoint apt-get install -qqy grub-efi-amd64-signed shim-signed efi_target=x86_64-efi ;; esac