diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-02-20 18:29:03 -0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 13:33:28 +0200 |
commit | 78d1f3ac61b1740f2a45c40bcde0e83246308a18 (patch) | |
tree | efc2d706d92a09ad833fff49b46b080b30f0d282 /target/linux/generic/pending-4.19/739-net-avoid-tx-fault-with-Nokia-GPON-module.patch | |
parent | 40acc13ca72ca7d2815dc5d94549d5dc48e16e98 (diff) | |
download | upstream-78d1f3ac61b1740f2a45c40bcde0e83246308a18.tar.gz upstream-78d1f3ac61b1740f2a45c40bcde0e83246308a18.tar.bz2 upstream-78d1f3ac61b1740f2a45c40bcde0e83246308a18.zip |
build: call ipkg-remove using xargs if #args>=512
The wildcard call to clean up luci package (luci*) can pick up over
2,300 files when the full tree is built. Running make package/luci/clean
or a second run of make package/luci/compile would fail with an
'Argument list too long' error.
To avoid that, a maybe_use_xargs function was created that runs the
command straight as usual if the number of arguments is < 512, or saves
the list in a temporary file and feeds it to xargs otherwise.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-4.19/739-net-avoid-tx-fault-with-Nokia-GPON-module.patch')
0 files changed, 0 insertions, 0 deletions