| Summary: | validating kernel configuration shows misleading warning from find | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Martin Jansa <Martin.Jansa> |
| Component: | kernel-tooling | Assignee: | Bruce Ashfield <bruce.ashfield> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Medium | CC: | dvhart, yp.kernel.watcher, yp.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Martin Jansa
2012-10-03 21:27:17 UTC
I've still never seen this myself, and I've gone explicitly hunting for this. What is your host and version of find ? OE @ ~ $ find /OE -path /OE/ find: warning: -path /OE/ will not match anything because it ends with /. ^C OE @ ~ $ find --version find (GNU findutils) 4.5.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Eric B. Decker, James Youngman, and Kevin Dalley. Built using GNU gnulib version 25d7f3a59bfdc7aaca4a016f687826883a55bef3 Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2) Perfect. I'll have (another) look. Bruce, how are you doing towards a result? No updates, I was on vacation :) Will have a look, this is annoying, but not damaging at the moment. All of my ubuntu boxes are 4.4.2, which has different behaviour. Moving to a fedora box, which has the right version, and I can see the warning in my simple test. Will have it fixed shortly. Fix is here: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/commit/?id=a802ee9c8d9334c0f7932dfd40d45599addb7c90 I'll see if we can sneak it into 1.3. Fix submitted to oe-core. commit 41d09ca6f0b639fd8ba0f1c5c7d7406bcb92a8fe Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Thu Oct 11 11:49:33 2012 -0400 kern-tools: kconf_check: fix find warning Bumping the kern-tools SRCREV to pickup the following change: [ kconf_check: fix find warning When searching for all available Kconfig files, kconf_check was using $meta_dir instead of $META_DIR. This resulted in a truncated path and the following warning: find: warning: -path $oe-path/linux/ will not match anything because it ends with /. Using the proper variable removes the warning and make sure that we do actually search all relevant directories. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] [YOCTO #3226] (From OE-Core rev: 5999ccebc7b071737f82709467e2a2ec152240f6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Thanks, confirmed fixed with latest oe-core. |