summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2014-08-22 16:30:53 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:59 +0100
commitf020170c6c92b4d28e45d5d5a6f8de9602af41c9 (patch)
treead58ae41a388b264948006d43bdc3703901b36d2 /meta/recipes-core
parent890bb87af6113654509c45217842b189daf785e2 (diff)
downloadtizen-distro-f020170c6c92b4d28e45d5d5a6f8de9602af41c9.tar.gz
tizen-distro-f020170c6c92b4d28e45d5d5a6f8de9602af41c9.tar.bz2
tizen-distro-f020170c6c92b4d28e45d5d5a6f8de9602af41c9.zip
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/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev/init2
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
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