mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
dc97c54915
commit
3857acab1a
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user