openwrt/package/base-files/files
Rodrigo Balerdi 264d948302 base-files: clean up nand tar sysupgrade code
Prepares code for ubirename-based safe sysupgrade implementation.

Fixes several issues:
- the special CI_KERNPART value "none" is ignored if an MTD partition
  named "none" exists
- misleading variable names (such as has_kernel to mean "tar has kernel
  and it should not be written to an MTD partition but a UBI volume")
- inconsistent treatment of zero-length tar member files
- inconsistent meaning of "0" and "" variable values
- redundant operations (unneeded untaring, repeated untaring, unneeded
  partition lookups)
- inconsistent variable quoting

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
2022-04-19 16:28:25 +01:00
..
bin base-files: fix typo in config_generate MAC check 2021-06-14 22:29:49 +02:00
etc base-files: add wrapper for procd service list command 2022-03-19 16:13:58 +01:00
lib base-files: clean up nand tar sysupgrade code 2022-04-19 16:28:25 +01:00
rom
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