The buildpackages task is responsible for creating the packages, there
is no point in verifying they are already present.
Signed-off-by: Loic Dachary <loic@dachary.org>
If there are missing packages, fail the job.
"""
+ for task in ctx.config['tasks']:
+ if task.keys()[0] == 'buildpackages':
+ log.info("Checking packages skipped because "
+ "the task buildpackages was found.")
+ return
+
log.info("Checking packages...")
os_type = ctx.config.get("os_type")
sha1 = ctx.config.get("sha1")