diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2020-02-20 13:40:55 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2020-04-07 15:49:56 +0200 |
commit | 35413b047c2c2d2229165ef021a4ef801ca16eb8 (patch) | |
tree | e42af5fd4d53e43aac210830373041311075f6ef /target/linux/oxnas/Makefile | |
parent | 55c29c398c2f4f290b5154c8daeff0f5069273b4 (diff) | |
download | upstream-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 'target/linux/oxnas/Makefile')
0 files changed, 0 insertions, 0 deletions