From 40c065800f0e84a860dc71f7690c596748b11a21 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 11 Mar 2019 00:20:51 -0400 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/kernel-yocto.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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): patchdir = '' if "patchdir" in parm: patchdir = parm["patchdir"] - if patchdir: + if subdir: if subdir == patchdir: patch_list.append(local) else: -- cgit v1.2.3-54-g00ecf