summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorShawn Wang <shawn.wang@canonical.com>2015-05-14 19:56:01 +0800
committerShawn Wang <shawn.wang@canonical.com>2015-05-14 19:56:01 +0800
commit90d80c9c4f2003505a6ef6c684b0b79b90b8a34d (patch)
treeb74e183b490c28381e16c2e7d8f7731b7415f041 /jobs
parentee13439a1eaafa796e8a7ee9ca6465d760039907 (diff)
providers:checkbox: add dkms_info_attachment, device_package_info_attachment jobs
Collect device related package information, dkms_info_attachment: json dump format of dkms package information device_package_info_attachment: list packages with matched hardware modaliases information
Diffstat (limited to 'jobs')
-rw-r--r--jobs/info.txt.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/jobs/info.txt.in b/jobs/info.txt.in
index 873619e4..e858f828 100644
--- a/jobs/info.txt.in
+++ b/jobs/info.txt.in
@@ -1,3 +1,8 @@
+# The dkms_info script requires python3-debian package
+unit: packaging meta-data
+os-id: debian
+Depends: python3-debian
+
id: codecs_attachment
plugin: attachment
requires: device.driver == 'snd_hda_intel'
@@ -124,6 +129,23 @@ command: lsmod_info
estimated_duration: 0.5
_description: Attaches a list of the currently running kernel modules.
+id: device_package_info_attachment
+plugin: attachment
+command: dkms_info --format onelines
+_description: Attaches a list of package with device matched information.
+ included package types:
+ - dkms (Dynamic Kernel Module Support): provides kernel modules
+ - non-dkms: packages that with modaliases header and don't exist in dkms list
+ - hardware modalias: might be unused dkms or config package
+ - oemalias: It is like non-dkms(w/o modalias)
+_summary: Attaches a list of package with device matched information.
+
+id: dkms_info_attachment
+plugin: attachment
+command: dkms_info --dkms --format dumps
+_description: Attaches json dumps of installed dkms package information.
+_summary: Attaches json dumps of installed dkms package information.
+
plugin: attachment
id: acpi_sleep_attachment
command: [ -e /proc/acpi/sleep ] && cat /proc/acpi/sleep || echo "No /proc/acpi/sleep found"