|
|
@ -76,15 +76,15 @@ install_grub() {
|
|
|
|
# please file a bug against grub2 to include the affected module.
|
|
|
|
# please file a bug against grub2 to include the affected module.
|
|
|
|
case $ARCH in
|
|
|
|
case $ARCH in
|
|
|
|
arm64)
|
|
|
|
arm64)
|
|
|
|
chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm64 grub-efi-arm64-bin
|
|
|
|
chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm64 grub-efi-arm64-bin udev
|
|
|
|
efi_target=arm64-efi
|
|
|
|
efi_target=arm64-efi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
armhf)
|
|
|
|
armhf)
|
|
|
|
chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm grub-efi-arm-bin
|
|
|
|
chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm grub-efi-arm-bin udev
|
|
|
|
efi_target=arm-efi
|
|
|
|
efi_target=arm-efi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
amd64)
|
|
|
|
amd64)
|
|
|
|
chroot mountpoint apt-get install -qqy grub-pc shim-signed
|
|
|
|
chroot mountpoint apt-get install -qqy grub-pc shim-signed udev
|
|
|
|
efi_target=x86_64-efi
|
|
|
|
efi_target=x86_64-efi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|