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 17:54:15 +0000 |
commit | d768772a1259d3659d0424c39e65eeb3443af86c (patch) | |
tree | 397adefb775790b0dafedc7ecc558cd28355261c /meta/recipes-core | |
parent | 34957afcfe663eed4f5ebec0891a84467e67a48d (diff) | |
download | openembedded-core-contrib-d768772a1259d3659d0424c39e65eeb3443af86c.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.
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Diffstat (limited to 'meta/recipes-core')
-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 96578bc15bf..9a8b09d34d3 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init @@ -74,10 +74,13 @@ case "$1" in else # Output detailed reason why the cached /dev is not used if [ "$VERBOSE" != "no" ]; then - echo "udev: udev cache not used" - echo "udev: we use $CMP_FILE_LIST as criteria to judge whether the cache /dev could be resued" - echo "udev: cached sysconf: $SYSCONF_CACHED" - echo "udev: current sysconf: $SYSCONF_TMP" + 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 |