summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@ni.com>2015-04-21 10:35:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-28 07:56:55 +0100
commitc62828e0c773d8ab98dfa7a2070bf8cad7b52557 (patch)
tree20731ce9470369f4a827f20c4a694471a727d83f /meta
parentb34412c48a0d1541c190ca6a13677c7cfd9377e6 (diff)
downloadpoky-c62828e0c773d8ab98dfa7a2070bf8cad7b52557.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 rev: d18e1964dede530c5fae6ae349d6a78fa5342382) Signed-off-by: Ken Sharp <ken.sharp@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/udev/udev/udev-cache2
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"
57 udevadm control --stop-exec-queue 57 udevadm control --stop-exec-queue
58 sysconf_cmd > "$SYSCONF_TMP" 58 sysconf_cmd > "$SYSCONF_TMP"
59 find /dev -xdev \( -type b -o -type c -o -type l \) | cut -c 2- \ 59 find /dev -xdev \( -type b -o -type c -o -type l \) | cut -c 2- \
60 | xargs tar cf "${DEVCACHE_TMP}" -T- 60 | xargs tar cf "${DEVCACHE_TMP}"
61 gzip < "${DEVCACHE_TMP}" > "$DEVCACHE" 61 gzip < "${DEVCACHE_TMP}" > "$DEVCACHE"
62 rm -f "${DEVCACHE_TMP}" 62 rm -f "${DEVCACHE_TMP}"
63 mv "$SYSCONF_TMP" "$SYSCONF_CACHED" 63 mv "$SYSCONF_TMP" "$SYSCONF_CACHED"