summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-02-09 12:44:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:26 +0000
commitf47da3e91541d75e1213dd9cf1f89ed16f21141a (patch)
tree63af96c240ee0a56ece65f89be6a899c2ae776c5
parentf348cd641416d2750dfec8e19bd01e7ae9f809aa (diff)
downloadopenembedded-core-f47da3e91541d75e1213dd9cf1f89ed16f21141a.tar.gz
openembedded-core-f47da3e91541d75e1213dd9cf1f89ed16f21141a.tar.bz2
openembedded-core-f47da3e91541d75e1213dd9cf1f89ed16f21141a.zip
classes: don't scan for CVEs in images or packagegroups
There's no point even looking in the database for these, so unset CVE_PRODUCT. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/packagegroup.bbclass1
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 7abb918212..23ed53deb4 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -674,3 +674,5 @@ reproducible_final_image_task () {
fi
}
IMAGE_PREPROCESS_COMMAND_append = " reproducible_final_image_task; "
+
+CVE_PRODUCT = ""
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index eea2e5b9fc..d540d4214e 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -56,3 +56,4 @@ python () {
bb.fatal("Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (%s) matches the entries enabled in DISTRO_FEATURES" % initman)
}
+CVE_PRODUCT = ""