From 35c780c1904215924d8693a338ef360bfad419d1 Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Thu, 25 Oct 2018 09:22:46 -0700 Subject: [PATCH] Include grub efi packages in uefi image manifests. --- live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary | 6 ++++++ 1 file changed, 6 insertions(+) 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..7839c49e 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -93,6 +93,12 @@ install_grub() { ;; esac + # This call to populate the package manifest is added here to capture + # grub-efi packages that otherwise would not make it into the base + # manifest. filesystem.packages is moved into place via symlinking to + # livecd.ubuntu-cpc.manifest by live-build/auto/build after lb_binary runs + dpkg-query --show --admindir="mountpoint/var/lib/dpkg" > "binary/boot/filesystem.packages" + chroot mountpoint grub-install "${loop_device}" \ --boot-directory=/boot \ --efi-directory=/boot/efi \