]> code.ossystems Code Review - openembedded-core.git/commitdiff
kern-tools: unify meta directory detection
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 24 Apr 2015 16:13:53 +0000 (12:13 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Apr 2015 06:56:00 +0000 (07:56 +0100)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb

index a1ec198fde7f865801bb6796b8ae415dde80dea7..e83f195a5393bc15149dd5a1b1c0032a6e26a7c5 100644 (file)
@@ -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}"