[arch-commits] Commit in grub/trunk (PKGBUILD grub.install)
Christian Hesse
eworm at archlinux.org
Thu Jun 10 21:52:10 UTC 2021
Date: Thursday, June 10, 2021 @ 21:52:10
Author: eworm
Revision: 417905
upgpkg: grub 2:2.06-1: new upstream release
Modified:
grub/trunk/PKGBUILD
grub/trunk/grub.install
--------------+
PKGBUILD | 2 +-
grub.install | 14 ++++++--------
2 files changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-10 20:22:54 UTC (rev 417904)
+++ PKGBUILD 2021-06-10 21:52:10 UTC (rev 417905)
@@ -23,7 +23,7 @@
_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')
Modified: grub.install
===================================================================
--- grub.install 2021-06-10 20:22:54 UTC (rev 417904)
+++ grub.install 2021-06-10 21:52:10 UTC (rev 417905)
@@ -7,16 +7,14 @@
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 <<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#
+:: 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
}
More information about the arch-commits
mailing list