summarylogtreecommitdiffstats
path: root/shim-signed.install
diff options
context:
space:
mode:
Diffstat (limited to 'shim-signed.install')
-rw-r--r--shim-signed.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/shim-signed.install b/shim-signed.install
new file mode 100644
index 000000000000..ed3951a8aef4
--- /dev/null
+++ b/shim-signed.install
@@ -0,0 +1,13 @@
+post_install() {
+ cat <<EOF
+ WARNING: Since version 15.3, shim requires SBAT.
+ It WILL NOT launch EFI binaries without a .sbat section.
+ See the upstream documentation: https://github.com/rhboot/shim/blob/main/SBAT.md
+EOF
+}
+
+post_upgrade() {
+ if (( $(vercmp $1 15.4+fedora+5) <= 0)); then
+ post_install
+ fi
+}