summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-03-17 16:21:49 -1000
committerSteve Sakoman <steve@sakoman.com>2024-03-25 04:02:32 -1000
commit7c67bd3dbe6f702dcad79b6d5475e07f41277439 (patch)
tree6764ecb8b65e923005fc043f867833814e866ef4 /meta
parent53afd9dc5b41d48af62ee5c1e3790bf8ed8061f9 (diff)
downloadpoky-7c67bd3dbe6f702dcad79b6d5475e07f41277439.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: 4268128167386298c8a7777ce3d3b5e7517bb366) 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>
Diffstat (limited to 'meta')
-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 af21989d58..506b4b6bbf 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.")