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

@ -29,9 +29,14 @@ case "$ARCH" in
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi
;;
i686)
i686)
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi-ia32 (uefi 32-bit)..."
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)
echo " * Installing grub-efi-arm64 (uefi arm64)..."