1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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>
This commit is contained in:
Richard Tollerton
2014-12-10 22:59:06 -06:00
committed by Richard Purdie
parent 0002d46e78
commit 8b0be8018a
+7 -4
View File
@@ -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