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>
This commit is contained in:
parent
b34412c48a
commit
c62828e0c7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue