|
|
|
@ -61,6 +61,8 @@ install_grub() {
|
|
|
|
|
efi_boot_dir="/boot/efi/EFI/BOOT"
|
|
|
|
|
chroot mountpoint mkdir -p "${efi_boot_dir}"
|
|
|
|
|
|
|
|
|
|
chroot mountpoint apt-get -y update
|
|
|
|
|
|
|
|
|
|
# The modules below only make sense on non-Secure Boot UEFI systems.
|
|
|
|
|
# Otherwise, with Secure Boot enabled GRUB will refuse to load them.
|
|
|
|
|
# Any modules already in debian/build-efi-images do not need to be listed.
|
|
|
|
@ -115,7 +117,6 @@ EOF
|
|
|
|
|
chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober
|
|
|
|
|
|
|
|
|
|
chroot mountpoint apt-get -y clean
|
|
|
|
|
chroot mountpoint apt-get -y update
|
|
|
|
|
|
|
|
|
|
rm mountpoint/tmp/device.map
|
|
|
|
|
sync
|
|
|
|
|