summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-03-15 01:20:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-15 07:36:14 +0000
commit64a54c9c3992e8c7dceca47575fa9475d4176497 (patch)
treeab2c7e7e8cd676d7d5af0272c18ac0fcdabe4781 /meta/recipes-core
parent19f27037b2b785673c8f68f19ea783856f732e4d (diff)
downloadpoky-64a54c9c3992e8c7dceca47575fa9475d4176497.tar.gz
cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition
CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is always inherited in cve-update-nvd2-native (There is a check line 40). Remove it to avoid confusion. Otherwise, this should not change anything. (From OE-Core rev: e5f3f223885c17b7007c310273fc7c80b90a4105) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/meta/cve-update-nvd2-native.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index d565887498..8bdb4a4b46 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -37,8 +37,6 @@ CVE_DB_UPDATE_ATTEMPTS ?= "5"
37 37
38CVE_DB_TEMP_FILE ?= "${CVE_CHECK_DB_DIR}/temp_nvdcve_2.db" 38CVE_DB_TEMP_FILE ?= "${CVE_CHECK_DB_DIR}/temp_nvdcve_2.db"
39 39
40CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2.db"
41
42python () { 40python () {
43 if not bb.data.inherits_class("cve-check", d): 41 if not bb.data.inherits_class("cve-check", d):
44 raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not loaded.") 42 raise bb.parse.SkipRecipe("Skip recipe when cve-check class is not loaded.")