[oe-commits] [openembedded-core] 05/10: linux-yocto: fix SRC_URI patching with unified repos
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 11 12:37:24 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 5dc2466e280806ce44c8799ebdf15e90faca66c5
Author: Bruce Ashfield <bruce.ashfield at gmail.com>
AuthorDate: Mon Mar 11 00:20:51 2019 -0400
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.
Signed-off-by: Bruce Ashfield <bruce.ashfield at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/kernel-yocto.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index bd7a957..ed9bcfa 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -15,7 +15,7 @@ def find_patches(d,subdir):
patchdir = ''
if "patchdir" in parm:
patchdir = parm["patchdir"]
- if patchdir:
+ if subdir:
if subdir == patchdir:
patch_list.append(local)
else:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list