vinstaller/etc/bootloader/grub

16 lines
291 B
Plaintext
Raw Normal View History

2022-02-07 05:06:12 +01:00
packages() {
if [ "$EFI" == "1" ]; then
addpkg grub-x86_64-efi dracut-uefi
else
addpkg grub
fi
2022-02-07 16:22:08 +01:00
}
config() {
if [ "$EFI" == "1" ]; then
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Void"
else
grub-install $TARGET_PHY_ID
fi
xbps-reconfigure -fa
2022-02-07 05:06:12 +01:00
}