void-packages/srcpkgs/gummiboot/INSTALL

28 lines
628 B
Plaintext

case "$ACTION" in
post)
if [ "$UPDATE" = no ]; then
mkdir -p /boot/EFI/gummiboot
cat <<EOF
==========================================================================
Make gummiboot your default bootloader with:
$ mount -t efivarfs none /sys/firmware/efi/efivars
$ gummiboot install
Kernel options should be defined in /boot/loader/void-options.conf:
$ cat /boot/loader/void-options.conf
root=/dev/sda2 ro quiet
Reconfigure your kernel package to create loader entries:
$ xbps-reconfigure -f linux3.XX
==========================================================================
EOF
fi
gummiboot update
;;
esac