aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2014-12-08 18:02:10 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-19 17:54:15 +0000
commit9e588bbf9477d57f0a46d92ce11f8f891115496c (patch)
tree659687c7b5e582bba51895e903fb1228d2debcf7
parentd768772a1259d3659d0424c39e65eeb3443af86c (diff)
downloadopenembedded-core-contrib-9e588bbf9477d57f0a46d92ce11f8f891115496c.tar.gz
udev-cache: always warn on console if invalidated
Failure to use the udev cache is a significant enough impact to the boot time (possibly seconds) that it should always be reported on the console, regardless of the VERBOSE setting. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
-rw-r--r--meta/recipes-core/udev/udev/init4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 9a8b09d34d..32c677a8c0 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -73,15 +73,13 @@ case "$1" in
[ -e "$DEVCACHE_REGEN" ] && rm -f "$DEVCACHE_REGEN"
else
# Output detailed reason why the cached /dev is not used
- if [ "$VERBOSE" != "no" ]; then
- cat <<EOF
+ cat <<EOF
udev: Not using udev cache because of changes detected in the following files:
udev: $CMP_FILE_LIST
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at $SYSCONF_CACHED
udev: against the current sysconf at $SYSCONF_TMP
EOF
- fi
touch "$DEVCACHE_REGEN"
fi
else