openwrtv3/package/base-files/files/lib/upgrade
Matthias Schiffer b2adb9a7b5
base-files: sysupgrade cleanup
Some functions only used by stage2 are moved there from common.sh.

One piece that could still use more cleanup is platform_pre_upgrade: many
targets reference files from there are aren't available in the ramfs, so
we need to evaluate it before the switch; conversely, flash writes happen
in that function on some targets. Targets that do the latter should be
fixed eventually to use platform_do_upgrade for that purpose.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-05-29 23:50:33 +02:00
..
keep.d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206) 2014-10-25 17:22:46 +00:00
common.sh base-files: sysupgrade cleanup 2017-05-29 23:50:33 +02:00
fwtool.sh base-files: add a hint in sysupgrade that shows what to do when the image metadata check fails 2016-12-04 11:41:49 +01:00
nand.sh base-files: always use staged sysupgrade 2017-05-29 23:50:32 +02:00
stage2 base-files: sysupgrade cleanup 2017-05-29 23:50:33 +02:00