diff options
| -rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
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() { | |||
| 1196 | import re | 1196 | import re |
| 1197 | from oe import patch | 1197 | from oe import patch |
| 1198 | 1198 | ||
| 1199 | coremeta_path = os.path.join(d.getVar('COREBASE'), 'meta', '') | ||
| 1199 | for url in patch.src_patches(d): | 1200 | for url in patch.src_patches(d): |
| 1200 | (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url) | 1201 | (_, _, fullpath, _, _, _) = bb.fetch.decodeurl(url) |
| 1201 | 1202 | ||
| 1202 | # skip patches not in oe-core | 1203 | # skip patches not in oe-core |
| 1203 | if '/meta/' not in fullpath: | 1204 | if not os.path.abspath(fullpath).startswith(coremeta_path): |
| 1204 | continue | 1205 | continue |
| 1205 | 1206 | ||
| 1206 | kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) | 1207 | kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) |
