[oe-commits] Ken Sharp : udev-cache: Remove unnecessary tar read from stdin
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 28 06:57:34 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: d18e1964dede530c5fae6ae349d6a78fa5342382
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d18e1964dede530c5fae6ae349d6a78fa5342382
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