[oe-commits] Richard Tollerton : udev-cache: always warn on console if invalidated
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 19 18:08:44 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 9e588bbf9477d57f0a46d92ce11f8f891115496c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9e588bbf9477d57f0a46d92ce11f8f891115496c
Author: Richard Tollerton <rich.tollerton at ni.com>
Date: Mon Dec 8 18:02:10 2014 -0600
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 at ni.com>
---
meta/recipes-core/udev/udev/init | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 9a8b09d..32c677a 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
More information about the Openembedded-commits
mailing list