summarylogtreecommitdiffstats
path: root/grub-git.install
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2022-12-10 13:01:58 -0800
committerLlewelyn Trahaearn2022-12-10 13:01:58 -0800
commit4338064ea5eafed8bc59d6ba456d876ee9539199 (patch)
tree2f6e24892496122d52947f5d894bd6aae6bd44f7 /grub-git.install
parent8716872f4dfe514950e7104d95d641f321308b5d (diff)
downloadaur-4338064ea5eafed8bc59d6ba456d876ee9539199.tar.gz
Include additional post upgrade help.
Diffstat (limited to 'grub-git.install')
-rw-r--r--grub-git.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/grub-git.install b/grub-git.install
index 503d4e7cd374..1752f3abb5b0 100644
--- a/grub-git.install
+++ b/grub-git.install
@@ -16,6 +16,14 @@ post_upgrade() {
\$ grub-install ...
\$ grub-mkconfig -o /boot/grub/grub.cfg
EOM
+
+ if [[ -e /sys/firmware/efi/efivars ]]; then
+ cat <<EOM
+:: 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
}
post_install() {