summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2021-10-12 17:57:40 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2021-10-12 17:57:40 +0100
commitbc0bd3c12f9c836cc4323dbb33e6081927cb55e1 (patch)
tree8aa0aec79868aa01d988c6ceba405f34200973d7
parent7919770b3a73150f67f226c356ceca78cf7dbd36 (diff)
Change: depend on debsums executable over package
Allow use of the debsums job from checkbox snaps for classic images by switching to executable dependency (and adding the debsums exe to the checkbox-core-snap).
-rw-r--r--units/miscellanea/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index a1eab66..dc9a0ac 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -469,7 +469,7 @@ category_id: com.canonical.plainbox::miscellanea
estimated_duration: 60
id: miscellanea/debsums
user: root
-requires: package.name == 'debsums'
+requires: executable.name == 'debsums'
command: debsums -c
_summary: Check the MD5 sums of installed Debian packages
_description: Verify installed Debian package files against MD5 checksum lists from /var/lib/dpkg/info/*.md5sums.