[oe-commits] Ken Sharp : udev-cache: Remove unnecessary tar read from stdin
git at git.openembedded.org
git at git.openembedded.org
Mon Apr 27 14:37:50 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 62b53078d3774c0efa2512da7bc5cb12c813bad7
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=62b53078d3774c0efa2512da7bc5cb12c813bad7
Author: Ken Sharp <ken.sharp at ni.com>
Date: Tue Apr 21 10:35:44 2015 -0500
udev-cache: Remove unnecessary tar read from stdin
xargs already formats the inputs to tar correctly, so the
'-T -' argument to tar is unnecessary.
Signed-off-by: Ken Sharp <ken.sharp at ni.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/udev/udev/udev-cache | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache
index df97000..12f68fb 100644
--- a/meta/recipes-core/udev/udev/udev-cache
+++ b/meta/recipes-core/udev/udev/udev-cache
@@ -57,7 +57,7 @@ echo "Populating dev cache"
udevadm control --stop-exec-queue
sysconf_cmd > "$SYSCONF_TMP"
find /dev -xdev \( -type b -o -type c -o -type l \) | cut -c 2- \
- | xargs tar cf "${DEVCACHE_TMP}" -T-
+ | xargs tar cf "${DEVCACHE_TMP}"
gzip < "${DEVCACHE_TMP}" > "$DEVCACHE"
rm -f "${DEVCACHE_TMP}"
mv "$SYSCONF_TMP" "$SYSCONF_CACHED"
More information about the Openembedded-commits
mailing list