]> code.ossystems Code Review - openembedded-core.git/commitdiff
udev-cache: always warn on console if invalidated
authorRichard Tollerton <rich.tollerton@ni.com>
Tue, 9 Dec 2014 00:02:10 +0000 (18:02 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:15 +0000 (17:54 +0000)
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>
meta/recipes-core/udev/udev/init

index 9a8b09d34d3a8b5eae19b054e9873ed6ebef2976..32c677a8c00a22e6c64ad56eae2dab52210056c1 100644 (file)
@@ -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