summarylogtreecommitdiffstats
path: root/grub-git.install
diff options
context:
space:
mode:
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() {