immortalwrt/package
Daniel Golle ad2936d4df 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-03-03 12:28:52 +08:00
..
base-files sysupgrade-nand: allow limiting rootfs_data by setting env variable 2021-03-03 12:28:52 +08:00
boot arm-trusted-firmware-mediatek: remove {e,sd}mmc headers 2021-03-03 12:09:13 +08:00
ctcgfw Merge Mainline 2021-03-02 18:19:46 +08:00
devel Merge Mainline 2021-02-01 00:12:25 +08:00
firmware treewide: fix spelling 'seperate' -> 'separate' 2021-03-02 22:26:41 +08:00
kernel treewide: fix spelling 'seperate' -> 'separate' 2021-03-02 22:26:41 +08:00
lean Merge Mainline 2021-03-02 18:19:46 +08:00
libs libunwind: Add MIPS64 dep check 2021-03-02 12:04:21 +08:00
lienol treewide: replace old domain with new one 2021-03-01 22:13:00 +08:00
network Merge Mainline 2021-03-02 18:19:46 +08:00
ntlf9t openwrt-dnsforwarder: removed 2021-02-25 21:27:33 +08:00
system Merge Mainline 2021-03-02 18:19:46 +08:00
utils Merge Mainline 2021-03-02 18:19:46 +08:00
Makefile