summaryrefslogtreecommitdiff
diff options
authorPMR <pmr@pmr-lander>2021-04-23 07:40:34 +0000
committerPMR <pmr@pmr-lander>2021-04-23 07:40:34 +0000
commitb327d1ec037070af23866c365d5a1fb72b886069 (patch)
treed61ab365215e92ca29acaaef9665b91b0ffde32f
parent0d780aba816df89d13129e326e6e060df881a137 (diff)
parent0cc5a67f41156c22b90e8ce88bacf24acc8255ba (diff)
Merge #401627 from ~jocave/plainbox-provider-checkbox:fwts-dump-and-attach
-rw-r--r--units/firmware/jobs.pxu18
1 files changed, 18 insertions, 0 deletions
diff --git a/units/firmware/jobs.pxu b/units/firmware/jobs.pxu
index 74d13ef..eb8397c 100644
--- a/units/firmware/jobs.pxu
+++ b/units/firmware/jobs.pxu
@@ -88,6 +88,24 @@ command:
_description: Attaches the FWTS Server Cert results log to the submission
_summary: Attach FWTS Server Cert test log to submission
+id: firmware/fwts_dump
+category_id: com.canonical.plainbox::firmware
+_summary: Run the FTWS dump command
+plugin: shell
+user: root
+requires: executable.name == 'fwts'
+command:
+ pushd "$PLAINBOX_SESSION_SHARE" > /dev/null || exit
+ fwts -d
+
+id: firmware/fwts_dump_acpi_attachment.gz
+category_id: com.canonical.plainbox::firmware
+_summary: Collect the ACPI tables dump from FWTS
+plugin: attachment
+depends: firmware/fwts_dump
+command:
+ [ -f "$PLAINBOX_SESSION_SHARE/acpidump.log" ] && gzip -c "$PLAINBOX_SESSION_SHARE/acpidump.log"
+
id: firmware/tcglog-required-algs-sha256
category_id: com.canonical.plainbox::firmware