Message ID | a2d03f445c45558997484240d2549eaa1e103692.1660170592.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | a2d03f445c45558997484240d2549eaa1e103692 |
Headers | show |
Series | [dunfell,01/11] grub2: Fix several security issue of integer underflow | expand |
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): for url in oe.patch.src_patches(d): patch_file = bb.fetch.decodeurl(url)[2] + # Remote compressed patches may not be unpacked, so silently ignore them if not os.path.isfile(patch_file): - bb.error("File Not found: %s" % patch_file) - raise FileNotFoundError + bb.warn("%s does not exist, cannot extract CVE list" % patch_file) + continue # Check patch file name for CVE ID fname_match = cve_file_name_match.search(patch_file)