new upstream release

This commit is contained in:
Christian Hesse 2021-06-10 21:52:10 +00:00
parent ec3717c8b7
commit 3dfa3647f6
2 changed files with 7 additions and 9 deletions

View File

@ -23,7 +23,7 @@ _gnulib_commit='be584c56eb1311606e5ea1a36363b97bddb6eed3'
_unifont_ver='13.0.06' _unifont_ver='13.0.06'
_pkgver=2.06 _pkgver=2.06
pkgver=${_pkgver/-/} pkgver=${_pkgver/-/}
pkgrel=0 pkgrel=1
url='https://www.gnu.org/software/grub/' url='https://www.gnu.org/software/grub/'
arch=('x86_64') arch=('x86_64')
license=('GPL3') license=('GPL3')

View File

@ -7,16 +7,14 @@ post_upgrade() {
mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg
fi 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 if [[ -e /sys/firmware/efi/efivars ]]; then
cat <<EOM cat <<EOM
:: Recent versions of grub may fail to boot with secure boot enabled. The :: Grub does no longer support side-loading modules when secure boot is
message will look like this: enabled. Thus booting will fail, unless you have an efi executable
> error: verification requested but nobody cares: 'grubx64.efi' with bundled modules.
> (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 EOM
fi fi
} }