aboutsummaryrefslogtreecommitdiffstats
path: root/include/depends.mk
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2020-02-20 13:40:55 +0100
committerRafał Miłecki <rafal@milecki.pl>2020-04-07 15:49:56 +0200
commit35413b047c2c2d2229165ef021a4ef801ca16eb8 (patch)
treee42af5fd4d53e43aac210830373041311075f6ef /include/depends.mk
parent55c29c398c2f4f290b5154c8daeff0f5069273b4 (diff)
downloadupstream-35413b047c2c2d2229165ef021a4ef801ca16eb8.tar.gz
upstream-35413b047c2c2d2229165ef021a4ef801ca16eb8.tar.bz2
upstream-35413b047c2c2d2229165ef021a4ef801ca16eb8.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> (cherry picked from commit 8abefc8896e7138a101fbb3d228946c43321503e)
Diffstat (limited to 'include/depends.mk')
0 files changed, 0 insertions, 0 deletions