From ace03f215557f5e11fcc40c513462a0b7588c1f1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 26 Apr 2021 13:49:16 +0000 Subject: [PATCH] add upgrade message about verification issue --- grub.install | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/grub.install b/grub.install index c13ef99..1dbae6f 100644 --- a/grub.install +++ b/grub.install @@ -6,12 +6,23 @@ post_upgrade() { 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 + # https://md.archlinux.org/F1JuYj5xQtWyhvH8_ilErg# + cat < 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 <