update bootloader-config script

This commit is contained in:
manuel 2024-09-08 16:07:49 +00:00
parent 4ab7ca2c7f
commit 3bb95addd5
1 changed files with 6 additions and 1 deletions

View File

@ -30,8 +30,13 @@ case "$ARCH" in
fi fi
;; ;;
i686) i686)
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi-ia32 (uefi 32-bit)..." echo " * Installing grub-efi-ia32 (uefi 32-bit)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-ia32 DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-ia32
else
echo " * Installing grub-pc (bios 32-bit)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi
;; ;;
aarch64) aarch64)
echo " * Installing grub-efi-arm64 (uefi arm64)..." echo " * Installing grub-efi-arm64 (uefi arm64)..."