summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/cve_check.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py
index a4b831831b..30fdc3e3dd 100644
--- a/meta/lib/oe/cve_check.py
+++ b/meta/lib/oe/cve_check.py
@@ -114,9 +114,10 @@ def get_patched_cves(d):
114 for url in oe.patch.src_patches(d): 114 for url in oe.patch.src_patches(d):
115 patch_file = bb.fetch.decodeurl(url)[2] 115 patch_file = bb.fetch.decodeurl(url)[2]
116 116
117 # Remote compressed patches may not be unpacked, so silently ignore them
117 if not os.path.isfile(patch_file): 118 if not os.path.isfile(patch_file):
118 bb.error("File Not found: %s" % patch_file) 119 bb.warn("%s does not exist, cannot extract CVE list" % patch_file)
119 raise FileNotFoundError 120 continue
120 121
121 # Check patch file name for CVE ID 122 # Check patch file name for CVE ID
122 fname_match = cve_file_name_match.search(patch_file) 123 fname_match = cve_file_name_match.search(patch_file)