base-files: bring back nand_do_upgrade_success
authorDaniel Golle <daniel@makrotopia.org>
Sun, 30 Oct 2022 20:22:06 +0000 (20:22 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 30 Oct 2022 20:26:12 +0000 (20:26 +0000)
commit84ff6c90dda1bef517675c50397d3080cdd3c6c2
tree4eaac45934577db9442621c8c32f236eec8fa1e0
parent910bdda6afa229e35ef6e1f74795ee79aa99c2e2
base-files: bring back nand_do_upgrade_success

Several Broadcom targets were using the nand_do_upgrade_success
shell function which has been removed by commit e25e6d8e54
("base-files: fix and clean up nand sysupgrade code"). Refactor the
new nand_do_upgrade to bring back nand_do_upgrade_success with the
behavior expected by those users.

Fixes: e25e6d8e54 ("base-files: fix and clean up nand sysupgrade code")
Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/upgrade/nand.sh