[oe-commits] Bruce Ashfield : kern-tools: unify meta directory detection

git at git.openembedded.org git at git.openembedded.org
Tue Apr 28 06:57:48 UTC 2015


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

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Fri Apr 24 12:13:53 2015 -0400

kern-tools: unify meta directory detection

It is possible that recipe specific tasks, or build processes drop
files into the kernel source directory. These files can cause problems
with the meta data detection in the kern-tools.

With this change, we have a single unified meta data detection routine,
that logs the result in a new file ".metadir", which subsequent scripts
can find, and use, thereby avoid repeating the same check many times.

We also enhance the check to look for a sentinel file in a proper meta
directory, to avoid false positives when an unexpected kernel process
leaves an uncommitted directory in the kernel dir.

[YOCTO: #7441]

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

---

 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a1ec198..e83f195 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=d8d1d729a70c
 
 DEPENDS = "git-native"
 
-SRCREV = "83e5493ea46067152609008ade131971eaebbb27"
+SRCREV = "79bc82453c26d426d3d8fd05d5da37cf5fc4068c"
 PR = "r12"
 PV = "0.2+git${SRCPV}"
 



More information about the Openembedded-commits mailing list