Message ID | f29dd96233bf9c323ab1b3887d2357f3c7312f94.1662559557.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | f29dd96233bf9c323ab1b3887d2357f3c7312f94 |
Headers | show |
Series | [kirkstone,01/24] sqlite: add CVE-2022-35737 patch to SRC_URI | expand |
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index f3f80334f6..0d93d50e58 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -1196,11 +1196,12 @@ python do_qa_patch() { import re from oe import patch + coremeta_path = os.path.join(d.getVar('COREBASE'), 'meta', '') for url in patch.src_patches(d): (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url) # skip patches not in oe-core - if '/meta/' not in fullpath: + if not os.path.abspath(fullpath).startswith(coremeta_path): continue kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE)