diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2020-02-20 13:40:55 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2020-03-21 22:31:35 +0100 |
commit | 8abefc8896e7138a101fbb3d228946c43321503e (patch) | |
tree | f71f2ca74fc2d6f7a881c68792ce822ff62ba46b /package/network/services | |
parent | 547f1ec25af59f9e69ae3cb69d1312e63138d4bf (diff) | |
download | upstream-8abefc8896e7138a101fbb3d228946c43321503e.tar.gz upstream-8abefc8896e7138a101fbb3d228946c43321503e.tar.bz2 upstream-8abefc8896e7138a101fbb3d228946c43321503e.zip |
bcm53xx: sysupgrade: optimize building UBI image
Use "truncate" to adjust size of existing file instead of "dd" which
required creating a copy. This saves space on tmpfs. It may be as low
as 2.1 MiB when using OpenWrt default user space and way more (20+ MiB)
when flashing vendor firmware.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/network/services')
0 files changed, 0 insertions, 0 deletions