diff options
-rw-r--r-- | meta/classes-global/insane.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 46ea41e271..db34b4bdb5 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
@@ -1214,11 +1214,12 @@ python do_qa_patch() { | |||
1214 | import re | 1214 | import re |
1215 | from oe import patch | 1215 | from oe import patch |
1216 | 1216 | ||
1217 | coremeta_path = os.path.join(d.getVar('COREBASE'), 'meta', '') | ||
1217 | for url in patch.src_patches(d): | 1218 | for url in patch.src_patches(d): |
1218 | (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url) | 1219 | (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url) |
1219 | 1220 | ||
1220 | # skip patches not in oe-core | 1221 | # skip patches not in oe-core |
1221 | if '/meta/' not in fullpath: | 1222 | if not os.path.abspath(fullpath).startswith(coremeta_path): |
1222 | continue | 1223 | continue |
1223 | 1224 | ||
1224 | kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) | 1225 | kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) |