diff options
| author | Richard Tollerton <rich.tollerton@ni.com> | 2014-08-22 16:30:53 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 23:01:59 +0100 |
| commit | 7c56a5e728f4c5adb3c9df7cf3cb2da782e3c94c (patch) | |
| tree | 0acf8f422d98f5d7463105618dc8983a23028a27 /meta | |
| parent | ab5c95ffbf579109b30edf8024c8e71888124482 (diff) | |
| download | poky-7c56a5e728f4c5adb3c9df7cf3cb2da782e3c94c.tar.gz | |
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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/udev/udev/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 7b1a676847..ce0a68c0fc 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
| @@ -69,7 +69,7 @@ case "$1" in | |||
| 69 | readfiles /etc/udev/cache.data | 69 | readfiles /etc/udev/cache.data |
| 70 | OLDDATA="$READDATA" | 70 | OLDDATA="$READDATA" |
| 71 | if [ "$OLDDATA" = "$NEWDATA" ]; then | 71 | if [ "$OLDDATA" = "$NEWDATA" ]; then |
| 72 | (cd /; tar xmf $DEVCACHE > /dev/null 2>&1) | 72 | tar xmf $DEVCACHE -C / -m |
| 73 | not_first_boot=1 | 73 | not_first_boot=1 |
| 74 | [ "$VERBOSE" != "no" ] && echo "udev: using cache file $DEVCACHE" | 74 | [ "$VERBOSE" != "no" ] && echo "udev: using cache file $DEVCACHE" |
| 75 | [ -e /dev/shm/udev.cache ] && rm -f /dev/shm/udev.cache | 75 | [ -e /dev/shm/udev.cache ] && rm -f /dev/shm/udev.cache |
