diff options
author | Richard Tollerton <rich.tollerton@ni.com> | 2014-12-10 22:59:06 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 18:08:01 +0000 |
commit | 8b0be8018a4c53ef383d9e358d3a3210c342947e (patch) | |
tree | 7a76fa1995320dd371445c23dc074bf4accb612e /meta | |
parent | 0002d46e784c9877ea4172de4d5c95b09a7de602 (diff) | |
download | poky-8b0be8018a4c53ef383d9e358d3a3210c342947e.tar.gz |
udev-cache: Clean up message when cache is invalidated
Replace a bunch of echo's with a single cat<<EOF. Take this opportunity
to more clearly communicate what is going on with the cache and what
files are being looked at.
(From OE-Core rev: d768772a1259d3659d0424c39e65eeb3443af86c)
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 96578bc15b..9a8b09d34d 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -74,10 +74,13 @@ case "$1" in | |||
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 | if [ "$VERBOSE" != "no" ]; then |
77 | echo "udev: udev cache not used" | 77 | cat <<EOF |
78 | echo "udev: we use $CMP_FILE_LIST as criteria to judge whether the cache /dev could be resued" | 78 | udev: Not using udev cache because of changes detected in the following files: |
79 | echo "udev: cached sysconf: $SYSCONF_CACHED" | 79 | udev: $CMP_FILE_LIST |
80 | echo "udev: current sysconf: $SYSCONF_TMP" | 80 | udev: The udev cache will be regenerated. To identify the detected changes, |
81 | udev: compare the cached sysconf at $SYSCONF_CACHED | ||
82 | udev: against the current sysconf at $SYSCONF_TMP | ||
83 | EOF | ||
81 | fi | 84 | fi |
82 | touch "$DEVCACHE_REGEN" | 85 | touch "$DEVCACHE_REGEN" |
83 | fi | 86 | fi |