diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2018-09-29 23:56:02 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2018-09-29 23:56:02 -0400 |
commit | fadb7641d0ce8b4d5fece5374b3762deaee96690 (patch) | |
tree | 4ba146b1636f347ecd1ae359654b39b6620a6f3b | |
parent | 08f9f0e612cfe90b2d6c3adfc2a5194b363119db (diff) |
Add new attachment job to run lstopo command
-rw-r--r-- | units/info/jobs.pxu | 9 | ||||
-rw-r--r-- | units/info/packaging.pxu | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index dee4fd5..78a60fe 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -429,3 +429,12 @@ id: info/systemd-analyze estimated_duration: 0.2 _summary: System boot-up performance statistics command: systemd-analyze + +id: lstopo_attachment +plugin: attachment +category_id: com.canonical.plainbox::info +command: lstopo -v +estimated_duration: 0.015 +requires: package.name == 'hwloc-nox' or executable.name == 'lstopo' +_description: Attaches the system topology as presented by the lstopo command +_summary: Attach the output of lstopo diff --git a/units/info/packaging.pxu b/units/info/packaging.pxu index 26d76cb..bc709fb 100644 --- a/units/info/packaging.pxu +++ b/units/info/packaging.pxu @@ -12,3 +12,8 @@ Depends: python3-guacamole (>= 0.9) unit: packaging meta-data os-id: debian Depends: util-linux + +# This is to install hwloc-nox for the lstopo attachment +unit: packaing meta-data +os-id: debian +Depends: hwloc-nox |