aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2017-06-07 08:04:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-12 15:04:08 +0100
commita1af526e43cb476472a6203882c12deef297f542 (patch)
tree6661b360f5ee28512eae56041080d3df559c8a92
parent6d8a17f4c50be292990e37de65630a6b84466ee6 (diff)
downloadopenembedded-core-contrib-a1af526e43cb476472a6203882c12deef297f542.tar.gz
cve-check: add do_rootfs dependency on cve-check
Since do_rootfs depends on cve-check results of all recipes, we need to recursively depend on recipe do_cve_check. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/cve-check.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index f5d73fdebad..6f5b0f56d20 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -107,6 +107,7 @@ python cve_check_write_rootfs_manifest () {
}
ROOTFS_POSTPROCESS_COMMAND_prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
+do_rootfs[recrdeptask] += "${@'do_cve_check' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
def get_patches_cves(d):
"""