openwrt/package/base-files/files/lib/upgrade
Daniel Golle bb107ad9c1
base-files: functions: introduce new helper functions
Introduce cmdline_get_var() to /lib/function.sh and make use of it in
export_rootdev() in /lib/upgrade/common.sh, making the code more
simple and removing one level of indentation.
Introduce get_partition_by_name() to /lib/upgrade/common.sh which is
useful on non-EFI GPT platforms like mt7622.
Remove some dead-code while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-31 16:53:39 +01:00
..
keep.d base-files: Add /etc/shinit for non-login shell init 2020-03-01 21:35:59 +01:00
common.sh base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00
do_stage2 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-11 09:05:35 +02:00
fwtool.sh base-files: upgrade: fwtool.sh: rewording logs 2020-11-11 21:29:55 +08:00
nand.sh base-files: remove unneeded '$' signs in nand.sh 2021-02-24 11:42:02 +00:00
stage2 base-files: flush kernel memory cache during sysupgrade 2020-12-22 18:59:10 +01:00