Report SecureBoot state via mokutil
authorMichael Prokop <mika@grml.org>
Tue, 15 Jan 2019 09:36:01 +0000 (10:36 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 15 Jan 2019 09:36:35 +0000 (10:36 +0100)
debian/control
grml-hwinfo

index 9da2931..af00fd3 100644 (file)
@@ -29,6 +29,7 @@ Recommends: acpi,
             lvm2,
             mcelog,
             mdadm,
+            mokutil,
             net-tools,
             numactl,
             open-iscsi,
index 06ef4e5..6d98829 100755 (executable)
@@ -338,6 +338,10 @@ cd "${OUTDIR}" || exit 1
       acpidump > ./acpidump 2>./acpidump.error
     fi
 
+    if exectest mokutil ; then
+      mokutil --sb-state > ./mokutil_state 2>./mokutil_state.error
+    fi
+
     # proxmox
     exectest qm && qm list > ./qm 2>./qm.error
     # libvirt