Date: Monday, April 26, 2021 @ 13:49:16 Author: eworm Revision: 413884
add upgrade message about verification issue Modified: grub/trunk/grub.install --------------+ grub.install | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) Modified: grub.install =================================================================== --- grub.install 2021-04-26 13:31:04 UTC (rev 413883) +++ grub.install 2021-04-26 13:49:16 UTC (rev 413884) @@ -6,12 +6,23 @@ 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 + + # https://md.archlinux.org/F1JuYj5xQtWyhvH8_ilErg# + cat <<EOM +:: Recent versions of grub may fail to boot with secure boot enabled. The + message will look like this: + > error: verification requested but nobody cares: + > (hd0,gpt2)/grub/x86_64-efi/normal.mod + > Entering rescue mode... + Handle installation to UEFI with care and be prepared! + For details see: https://md.archlinux.org/F1JuYj5xQtWyhvH8_ilErg# +EOM } post_install() { - cat << 'EOM' -Generate your bootloader configuration with: - grub-mkconfig -o /boot/grub/grub.cfg + cat <<EOM +:: Generate your bootloader configuration with: + grub-mkconfig -o /boot/grub/grub.cfg EOM }