packages() { if [ "$EFI" == "1" ]; then addpkg grub-x86_64-efi else addpkg grub fi } config() { if [ "${EFI}" == "1" ]; then grub-install --bootloader-id="Void" else grub-install "${TARGET_PHY_ID}" fi xbps-reconfigure -fa }