summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2026-05-19 23:45:00 +0100
committerSteve McIntyre <steve@einval.com>2026-05-19 23:45:00 +0100
commitd94c2b0f2abfe9873e0ebad99a43f9b160397df3 (patch)
tree1b6f5e975b7f3702a24656ef6a15474e72fd1347 /debian
parent1c4e702c99a185924a847ba464cd2205796ecce2 (diff)
downloadshim-signed-d94c2b0f2abfe9873e0ebad99a43f9b160397df3.tar.gz
shim-signed-d94c2b0f2abfe9873e0ebad99a43f9b160397df3.zip
Fix up stupid omission in the previous package uploaddebian/1.50
the changes in 1.49 did not take into account the "SecureBoot enabled" case when adding a default error trap. Closes: #1137098, #1137101.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/shim-signed.preinst.in8
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 8a0bda7..b319c63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+shim-signed (1.50) unstable; urgency=medium
+
+ * Fix up stupid omission in the previous package upload - the
+ changes in 1.49 did not take into account the "SecureBoot enabled"
+ case when adding a default error trap. Closes: #1137098, #1137101.
+
+ -- Steve McIntyre <93sam@debian.org> Tue, 19 May 2026 23:35:39 +0100
+
shim-signed (1.49) unstable; urgency=medium
* Make mokutil parsing more robust. Closes: #1137063
diff --git a/debian/shim-signed.preinst.in b/debian/shim-signed.preinst.in
index cfbcc8c..a6c3443 100644
--- a/debian/shim-signed.preinst.in
+++ b/debian/shim-signed.preinst.in
@@ -51,7 +51,9 @@ case "$type" in
else
# Check that we can safely boot this shim.
# We don't care if the platform is in setup mode.
- SB_STATE=$(mokutil --sb-state 2>&1 | grep -v "Platform is in Setup Mode")
+ SB_STATE=$(mokutil --sb-state 2>&1 | grep -v \
+ -e "Platform is in Setup Mode" \
+ -e "SecureBoot validation is disabled in shim")
# If SB is not enabled (etc.) then this shim is fine
case "${SB_STATE}" in
"SecureBoot disabled"|"This system doesn't support Secure Boot")
@@ -62,6 +64,10 @@ case "$type" in
echo " ${SB_STATE}; assuming shim installation is safe."
SB_BOOT_ERROR=$ERR_NONE
;;
+ "SecureBoot enabled")
+ echo " ${SB_STATE}; need to check for signatures."
+ SB_BOOT_ERROR=$ERR_NO_VALID_SIG
+ ;;
*)
echo "Unexpected output from mokutil:"
echo '"""'