Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: grub 2:2.06-1: new upstream release
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@417905 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
eworm authored and svntogit committed Jun 10, 2021
1 parent de343fa commit 4144617
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
14 changes: 6 additions & 8 deletions trunk/grub.install
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<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
}
Expand Down

0 comments on commit 4144617

Please sign in to comment.