[oe-commits] Bruce Ashfield : linux-yocto: .diff is a valid patch extension

git at git.openembedded.org git at git.openembedded.org
Tue Apr 17 22:22:23 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 0ade3f26f40b67d7296725b1e956c46be9a86089
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0ade3f26f40b67d7296725b1e956c46be9a86089

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Tue Apr 17 18:01:44 2012 -0400

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.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/kernel-yocto.bbclass                  |    2 +-
 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 0caf6a6..c995a2e 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)
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index d1c2ee4..754ebe5 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=e2bf4415f3d8
 
 DEPENDS = "git-native guilt-native"
 
-SRCREV = "67bcedda582b2b191f26ec47dd1d4eac37f1305c"
+SRCREV = "2bbbaaa00cc70887d6d6f745b9425890d522d240"
 PR = "r12"
 PV = "0.1+git${SRCPV}"
 





More information about the Openembedded-commits mailing list