diff options
author | Rodrigo Balerdi <lanchon@gmail.com> | 2022-04-15 06:31:24 -0300 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-04-19 16:28:25 +0100 |
commit | 264d9483025c9604709879094810f25e6c9fac38 (patch) | |
tree | 3539c2aa2ab002d0eade28f8381e8b6741bc9a84 /tools/coreutils | |
parent | ecbcc0b595516d059092b89efbef69b93cf97f6a (diff) | |
download | upstream-264d9483025c9604709879094810f25e6c9fac38.tar.gz upstream-264d9483025c9604709879094810f25e6c9fac38.tar.bz2 upstream-264d9483025c9604709879094810f25e6c9fac38.zip |
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>
Diffstat (limited to 'tools/coreutils')
0 files changed, 0 insertions, 0 deletions