]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: .diff is a valid patch extension
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 17 Apr 2012 22:01:44 +0000 (18:01 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Apr 2012 22:15:24 +0000 (23:15 +0100)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb

index 0caf6a67f0fff3ebdb65b639281c36653e527c2c..c995a2ef5767897f0d2b50459a537b29178160cc 100644 (file)
@@ -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)
index d1c2ee476c2ae7b75c844c3e87b6a173b63a9254..754ebe5fb2e4ae1d20d98d49236fab0d33e5a4f9 100644 (file)
@@ -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}"