summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
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 18:08:01 +0000
commit7c522ced96cc13c9893cb564599c7b68064c1023 (patch)
tree8188fb1b3fc52e85cd065be0727ea7bd0c2cfedb /meta/recipes-core/udev
parent8b0be8018a4c53ef383d9e358d3a3210c342947e (diff)
downloadpoky-7c522ced96cc13c9893cb564599c7b68064c1023.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. (From OE-Core rev: 9e588bbf9477d57f0a46d92ce11f8f891115496c) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
-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
73 [ -e "$DEVCACHE_REGEN" ] && rm -f "$DEVCACHE_REGEN" 73 [ -e "$DEVCACHE_REGEN" ] && rm -f "$DEVCACHE_REGEN"
74 else 74 else
75 # Output detailed reason why the cached /dev is not used 75 # Output detailed reason why the cached /dev is not used
76 if [ "$VERBOSE" != "no" ]; then 76 cat <<EOF
77 cat <<EOF
78udev: Not using udev cache because of changes detected in the following files: 77udev: Not using udev cache because of changes detected in the following files:
79udev: $CMP_FILE_LIST 78udev: $CMP_FILE_LIST
80udev: The udev cache will be regenerated. To identify the detected changes, 79udev: The udev cache will be regenerated. To identify the detected changes,
81udev: compare the cached sysconf at $SYSCONF_CACHED 80udev: compare the cached sysconf at $SYSCONF_CACHED
82udev: against the current sysconf at $SYSCONF_TMP 81udev: against the current sysconf at $SYSCONF_TMP
83EOF 82EOF
84 fi
85 touch "$DEVCACHE_REGEN" 83 touch "$DEVCACHE_REGEN"
86 fi 84 fi
87 else 85 else