[OE-core] [meta-oe][PATCH 1/3] cve-check: Depends on cve-update-db-native
Pierre Le Magourou
lemagoup at gmail.com
Thu Jul 4 15:19:06 UTC 2019
From: Pierre Le Magourou <pierre.lemagourou at softbankrobotics.com>
do_populate_cve_db is a native task.
Signed-off-by: Pierre Le Magourou <pierre.lemagourou at softbankrobotics.com>
---
meta/classes/cve-check.bbclass | 2 +-
meta/recipes-core/meta/cve-update-db.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
index 81071e3f19..6ffa0c4688 100644
--- a/meta/classes/cve-check.bbclass
+++ b/meta/classes/cve-check.bbclass
@@ -63,7 +63,7 @@ python do_cve_check () {
}
addtask cve_check after do_unpack before do_build
-do_cve_check[depends] = "cve-update-db:do_populate_cve_db"
+do_cve_check[depends] = "cve-update-db-native:do_populate_cve_db"
do_cve_check[nostamp] = "1"
python cve_check_cleanup () {
diff --git a/meta/recipes-core/meta/cve-update-db.bb b/meta/recipes-core/meta/cve-update-db.bb
index ae8f1a958b..8e553b4f9b 100644
--- a/meta/recipes-core/meta/cve-update-db.bb
+++ b/meta/recipes-core/meta/cve-update-db.bb
@@ -141,3 +141,4 @@ addtask do_populate_cve_db before do_fetch
do_populate_cve_db[nostamp] = "1"
EXCLUDE_FROM_WORLD = "1"
+BBCLASSEXTEND =+ "native"
--
2.11.0
More information about the Openembedded-core
mailing list