summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2019-03-11 00:20:51 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-12 11:57:41 -0700
commit40c065800f0e84a860dc71f7690c596748b11a21 (patch)
treecf4a76ae58f0c6b0202152f36765d1cbea94e963 /meta
parentcda5d455992e1aceae911178b7143b67e0ac29cc (diff)
downloadpoky-40c065800f0e84a860dc71f7690c596748b11a21.tar.gz
linux-yocto: fix SRC_URI patching with unified repos
As reported by Paul Barker, my attempt to allow the patching of kernel meta data broke other repository configurations, since the meta data patch routing was matching too broadly and the same repo would end up being patched twice. Using his suggested fix, we are up and running with both types of repos again. (From OE-Core rev: 0fd09633e3c2fb4668c7700516d288f8c5356ff6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index bd7a957583..ed9bcfa57c 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -15,7 +15,7 @@ def find_patches(d,subdir):
15 patchdir = '' 15 patchdir = ''
16 if "patchdir" in parm: 16 if "patchdir" in parm:
17 patchdir = parm["patchdir"] 17 patchdir = parm["patchdir"]
18 if patchdir: 18 if subdir:
19 if subdir == patchdir: 19 if subdir == patchdir:
20 patch_list.append(local) 20 patch_list.append(local)
21 else: 21 else: