diff options
author | Ken Sharp <ken.sharp@ni.com> | 2015-04-21 10:35:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-28 07:55:59 +0100 |
commit | d18e1964dede530c5fae6ae349d6a78fa5342382 (patch) | |
tree | 459a1ea809839e6f0b793ab4a92b7c449159880d | |
parent | 2ea67db71ba37285c5d16428ba9629412adcfa47 (diff) | |
download | openembedded-core-d18e1964dede530c5fae6ae349d6a78fa5342382.tar.gz openembedded-core-d18e1964dede530c5fae6ae349d6a78fa5342382.tar.bz2 openembedded-core-d18e1964dede530c5fae6ae349d6a78fa5342382.zip |
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@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/udev/udev/udev-cache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache index df97000dde..12f68fb825 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" |