diff options
author | Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com> | 2022-09-08 15:54:33 +0800 |
---|---|---|
committer | Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com> | 2022-09-08 16:28:25 +0800 |
commit | 51859e54bb673be76ea3c1276748e2f3d83dbcd8 (patch) | |
tree | 9e852a793ccccc86424fff6e13eff2a8fa5a8f30 | |
parent | b527218d40d94000a9a4130c9b7d882c21c4409f (diff) |
-rw-r--r-- | units/info/jobs.pxu | 12 | ||||
-rw-r--r-- | units/info/test-plan.pxu | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index f149eb6..ebc125b 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -502,3 +502,15 @@ environ: SNAP CHECKBOX_RUNTIME user: root estimated_duration: 0.02 _summary: Attaches an information about all parts that constituted this snap + +id: info/secure-boot-check +plugin: attachment +category_id: com.canonical.plainbox::info +estimated_duration: 0.2 +requires: + package.name == 'mokutil' +command: + mokutil --sb-state +_summary: Check secure boot state +_description: + Output secure boot is enabled or disabled diff --git a/units/info/test-plan.pxu b/units/info/test-plan.pxu index 598d317..5f5fcfb 100644 --- a/units/info/test-plan.pxu +++ b/units/info/test-plan.pxu @@ -53,6 +53,7 @@ include: sysfs_attachment udev_attachment firmware/fwts_dump_acpi_attachment.gz + info/secure-boot-check bootstrap_include: device @@ -91,6 +92,7 @@ include: sysfs_attachment udev_attachment udev-summary_attachment + info/secure-boot-check bootstrap_include: device fwts |