diff options
author | PMR <pmr@pmr-lander> | 2019-01-10 16:35:55 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2019-01-10 16:35:55 +0000 |
commit | 485d43dc3b7f6c1da60d1a180a2e6d325818f733 (patch) | |
tree | a939aeb266290b8f2e890122bdd2ff1cd4106010 | |
parent | 2dd9efa499afcc007ab0f4e9f6a350f2b8d7fdfc (diff) | |
parent | 324443e4fca9f560bb5d28020338f9911d5ea579 (diff) |
Merge #361627 from ~kissiel/plainbox-provider-checkbox:media-info-as-buildstamp
add /etc/media-info as an alternative to buildstamp On some project (*cough* Chelmsford) buildstamp is present in this media-info file. I created Chelmsford-specific buildstamp job to make it work, but Checkbox looks for a hardcoded buildstamp job from com.canonical.certification namespace when creating the report.
-rw-r--r-- | units/info/jobs.pxu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index 4485829a..3170566d 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -345,6 +345,8 @@ _summary: Attaches the buildstamp identifier for the OS command: if [ -s /etc/buildstamp ]; then cat /etc/buildstamp + elif [ -s /etc/media-info ]; then + cat /etc/media-info elif [ -e /var/lib/snapd/seed/seed.yaml ]; then echo && date -r /var/lib/snapd/seed/seed.yaml -R else |