diff options
-rw-r--r-- | units/miscellanea/jobs.pxu | 2 | ||||
-rw-r--r-- | units/submission/jobs.pxu | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu index 5d51176..4772507 100644 --- a/units/miscellanea/jobs.pxu +++ b/units/miscellanea/jobs.pxu @@ -184,6 +184,8 @@ _description: Test to verify that the system uses production, rather than pre-release, versions of the kernel and the OS. command: check-prerelease.py +requires: + "Ubuntu Core" not in lsb.description plugin: shell category_id: com.canonical.plainbox::miscellanea diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu index a8c8c7f..dc5d5a5 100644 --- a/units/submission/jobs.pxu +++ b/units/submission/jobs.pxu @@ -1,9 +1,14 @@ id: dkms_info_json +template-engine: jinja2 plugin: attachment category_id: com.canonical.plainbox::info command: + {%- if __on_ubuntucore__ %} + echo "{}" + {%- else %} dkms_info.py --format json | python3 -m plainbox dev parse dkms-info | \ jq '.dkms_info' + {% endif -%} _description: Attaches json dumps of installed dkms package information. _summary: Attaches json dumps of installed dkms package information. |