Include grub efi packages in uefi image manifests.

sil2100/backport-datasource-raspi3
Cody Shepherd 6 years ago
parent 96065b96c8
commit 35c780c190

@ -93,6 +93,12 @@ install_grub() {
;; ;;
esac 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}" \ chroot mountpoint grub-install "${loop_device}" \
--boot-directory=/boot \ --boot-directory=/boot \
--efi-directory=/boot/efi \ --efi-directory=/boot/efi \

Loading…
Cancel
Save