summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/cve_check.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/cve_check.py')
-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 e445b7a6ae..dc7d2e2826 100644
--- a/meta/lib/oe/cve_check.py
+++ b/meta/lib/oe/cve_check.py
@@ -89,9 +89,10 @@ def get_patched_cves(d):
89 for url in oe.patch.src_patches(d): 89 for url in oe.patch.src_patches(d):
90 patch_file = bb.fetch.decodeurl(url)[2] 90 patch_file = bb.fetch.decodeurl(url)[2]
91 91
92 # Remote compressed patches may not be unpacked, so silently ignore them
92 if not os.path.isfile(patch_file): 93 if not os.path.isfile(patch_file):
93 bb.error("File Not found: %s" % patch_file) 94 bb.warn("%s does not exist, cannot extract CVE list" % patch_file)
94 raise FileNotFoundError 95 continue
95 96
96 # Check patch file name for CVE ID 97 # Check patch file name for CVE ID
97 fname_match = cve_file_name_match.search(patch_file) 98 fname_match = cve_file_name_match.search(patch_file)