summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-03-15 01:20:17 +0100
committerSteve Sakoman <steve@sakoman.com>2024-03-20 06:02:50 -1000
commitcfea74e239d11e86ec664e5f7020acbb7d960f8c (patch)
treef142b911327ae7feac5447d4b31f7815edb3b627
parentc98a98ebb36faa2f5b4770a80b06ce431f2f2c95 (diff)
downloadpoky-cfea74e239d11e86ec664e5f7020acbb7d960f8c.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: 572ee5512a3d8941c6842af451ca6c9bb75773d3) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e5f3f223885c17b7007c310273fc7c80b90a4105) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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.")