Openwrt/package
Daniel Golle 5c10f26c28 sysupgrade-nand: allow limiting rootfs_data by setting env variable
Check if firmware environment variable 'rootfs_data_max' exists and is
set to a numerical value greater than 0. If so, limit rootfs_data
volume to that size instead of using the maximum available size.

This is useful on devices with lots of flash where users may want to
have eg. a volume for persistent logs and statistics or for external
applications/containers. Persistence on rootfs overlay is limited by
the size of memory available during the sysugprade process as that
data needs to be copied to RAM while the volume is being recreated
during sysupgrade. Hence it is unsuitable for keeping larger amounts
of data accross upgrade which makes additional volume(s) for
application data desirable.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-24 01:35:20 +00:00
..
base-files sysupgrade-nand: allow limiting rootfs_data by setting env variable 2021-02-24 01:35:20 +00:00
boot uboot-envtools: add support for ZyXEL GS-1900-8HP v1 and v2 2021-02-23 21:10:56 +01:00
devel strace: update package to v5.10 2021-01-30 01:03:00 +01:00
firmware tfa-layerscape: build fiptool again 2021-02-21 00:01:36 +01:00
kernel kernel: 5.10: fix kmod build failures 2021-02-23 20:13:22 +01:00
libs pcre: disable C++ bindings 2021-02-24 00:30:40 +01:00
network ppp: Update to version 2.4.9 2021-02-24 00:30:20 +01:00
system procd: update to git HEAD 2021-02-23 13:16:23 +00:00
utils bcm27xx-userland: update to latest version 2021-02-18 23:42:46 +01:00
Makefile