diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2014-12-08 18:02:10 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 18:08:01 +0000 |
commit | 7c522ced96cc13c9893cb564599c7b68064c1023 (patch) | |
tree | 8188fb1b3fc52e85cd065be0727ea7bd0c2cfedb /meta/recipes-core | |
parent | 8b0be8018a4c53ef383d9e358d3a3210c342947e (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 4 |
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 | ||
78 | udev: Not using udev cache because of changes detected in the following files: | 77 | udev: Not using udev cache because of changes detected in the following files: |
79 | udev: $CMP_FILE_LIST | 78 | udev: $CMP_FILE_LIST |
80 | udev: The udev cache will be regenerated. To identify the detected changes, | 79 | udev: The udev cache will be regenerated. To identify the detected changes, |
81 | udev: compare the cached sysconf at $SYSCONF_CACHED | 80 | udev: compare the cached sysconf at $SYSCONF_CACHED |
82 | udev: against the current sysconf at $SYSCONF_TMP | 81 | udev: against the current sysconf at $SYSCONF_TMP |
83 | EOF | 82 | EOF |
84 | fi | ||
85 | touch "$DEVCACHE_REGEN" | 83 | touch "$DEVCACHE_REGEN" |
86 | fi | 84 | fi |
87 | else | 85 | else |