diff options
author | Ken Sharp <ken.sharp@ni.com> | 2015-04-21 10:35:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-15 18:12:47 +0100 |
commit | 3857acab1afc87a0b10698270759b8e08328f961 (patch) | |
tree | 3039a923ebd4112314ebf0c47fed40924a1494bf /meta/recipes-core/udev/udev | |
parent | dc97c54915ca22cf86a7e835e0861214fc134c54 (diff) | |
download | ast2050-yocto-poky-3857acab1afc87a0b10698270759b8e08328f961.zip ast2050-yocto-poky-3857acab1afc87a0b10698270759b8e08328f961.tar.gz |
udev-cache: Remove unnecessary tar read from stdin
xargs already formats the inputs to tar correctly, so the
'-T -' argument to tar is unnecessary.
(From OE-Core master rev: d18e1964dede530c5fae6ae349d6a78fa5342382)
(From OE-Core rev: d666072445ec5323a7849ae0c80ba9f293a5464b)
Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev')
-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 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" |