From 0f8c8c844ba6e48ac5964461438230a7b8b6f7bd Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 17 Apr 2012 18:01:44 -0400 Subject: linux-yocto: .diff is a valid patch extension In fixing an existing patch migration bug, the list of valid extensions got out of sync from the core patch class. As a result, valid patches were not being applied to the tree. Updating the tools to migrate .diff files fixes the issue. Also in this fix is the removal of .patch in the find_sccs() routine, since it will never be returned by patch.bbclass when all non-patches are requested, it is simply confusing. (From OE-Core rev: 0ade3f26f40b67d7296725b1e956c46be9a86089) 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/classes') diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 0caf6a67f0..c995a2ef57 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -20,7 +20,7 @@ def find_sccs(d): sources_list=[] for s in sources: base, ext = os.path.splitext(os.path.basename(s)) - if ext and ext in ('.scc' '.cfg' '.patch'): + if ext and ext in ('.scc' '.cfg'): sources_list.append(s) elif base and base in 'defconfig': sources_list.append(s) -- cgit v1.2.3-54-g00ecf