openwrt/package/base-files/files
Daniel Golle 397de50089
base-files: Make sure rootfs_data_max is considered
For sysupgrade on NAND/UBI devices there is the U-Boot environment
variable rootfs_data_max which can be used to limit the size of the
rootfs_data volume created on sysupgrade.
This stopped working reliable with recent kernels, probably due to a
race condition when reading the number of free erase blocks from sysfs
just after removing a volume.
Change the script to just try creating rootfs_data with the desired
size and retry with maximum size in case that fails. Hence calculating
the available size in the script can be dropped which works around the
problem.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-02-17 15:15:42 +00:00
..
bin base-files: fix typo in config_generate MAC check 2021-06-14 22:29:49 +02:00
etc base-files: replace fgrep with grep -F 2022-02-06 23:09:15 +01:00
lib base-files: Make sure rootfs_data_max is considered 2022-02-17 15:15:42 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: wifi: tidy up the reconf code 2021-06-28 17:24:15 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00