mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
udev-cache: Don't ignore error messages from cache extract
Previous changes should obviate all known spurious errors coming out of tar. Since real extraction failures can and will occur, stop redirecting stdout/stderr to /dev/null. Take this opportunity to also remove an unnecessary subshell. (From OE-Core rev: 09089962be353280201ba3899fd5ef9cc3c0ba32) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab5c95ffbf
commit
7c56a5e728
@@ -69,7 +69,7 @@ case "$1" in
|
||||
readfiles /etc/udev/cache.data
|
||||
OLDDATA="$READDATA"
|
||||
if [ "$OLDDATA" = "$NEWDATA" ]; then
|
||||
(cd /; tar xmf $DEVCACHE > /dev/null 2>&1)
|
||||
tar xmf $DEVCACHE -C / -m
|
||||
not_first_boot=1
|
||||
[ "$VERBOSE" != "no" ] && echo "udev: using cache file $DEVCACHE"
|
||||
[ -e /dev/shm/udev.cache ] && rm -f /dev/shm/udev.cache
|
||||
|
||||
Reference in New Issue
Block a user