because these are now covered by the new error handling method
mkdir -p /boot/efi
echo "Mounting $EFI on /boot/efi"
mkdir -p /boot/efi
echo "Mounting $EFI on /boot/efi"
- mount "$EFI" /boot/efi || return 1
# if efivarfs kernel module is loaded, but efivars isn't,
# then we need to mount efivarfs for efibootmgr usage
# if efivarfs kernel module is loaded, but efivars isn't,
# then we need to mount efivarfs for efibootmgr usage
fi
echo "Invoking efibootmgr"
fi
echo "Invoking efibootmgr"
}
# grub configuration/installation {{{
}
# grub configuration/installation {{{
if [ -n "$EFI" ] ; then
GRUB_PACKAGE=grub-efi-amd64
if [ -n "$EFI" ] ; then
GRUB_PACKAGE=grub-efi-amd64