mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-18 23:11:54 +00:00
455cafc63e
Grub can be used to boot linux on aarch64. u-boot support subset of UEFI spec which is enough to start grub (and linux).
17 lines
427 B
Bash
17 lines
427 B
Bash
#!/bin/sh
|
|
|
|
post_upgrade() {
|
|
# We used to package /boot/grub/grub.cfg, but there is no reason to.
|
|
# Remove the file from package, but move real file back in place.
|
|
if [ ! -f /boot/grub/grub.cfg -a -f /boot/grub/grub.cfg.pacsave ]; then
|
|
mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
cat << 'EOM'
|
|
Generate your bootloader configuration with:
|
|
grub-mkconfig -o /boot/grub/grub.cfg
|
|
EOM
|
|
}
|
|
|