difos/package/base-files/files
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
..
bin base-files: allow setting device and bridge macs 2020-12-02 07:51:36 +01:00
etc base-files: use hwclock --systz 2021-02-14 15:15:32 +01:00
lib sysupgrade-nand: allow limiting rootfs_data by setting env variable 2021-02-24 01:35:20 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: wifi: add support for 802.11ad 2021-01-05 02:16:24 +00:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00