diff --git a/PKGBUILD b/PKGBUILD index 6118098..e6d33c1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -23,7 +23,7 @@ _gnulib_commit='be584c56eb1311606e5ea1a36363b97bddb6eed3' _unifont_ver='13.0.06' _pkgver=2.06 pkgver=${_pkgver/-/} -pkgrel=0 +pkgrel=1 url='https://www.gnu.org/software/grub/' arch=('x86_64') license=('GPL3') diff --git a/grub.install b/grub.install index 7c4df5b..c268996 100644 --- a/grub.install +++ b/grub.install @@ -7,16 +7,14 @@ post_upgrade() { mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg fi - # https://md.archlinux.org/F1JuYj5xQtWyhvH8_ilErg# + # return if old package version greater 2:2.06-0... + (( $(vercmp $2 '2:2.06-0') > 0 )) && return + if [[ -e /sys/firmware/efi/efivars ]]; then 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# +:: Grub does no longer support side-loading modules when secure boot is + enabled. Thus booting will fail, unless you have an efi executable + 'grubx64.efi' with bundled modules. EOM fi }