kirkwood: fix Linksys upgrade, restore config step
authorMichael Trinidad <trinidude4@hotmail.com>
Sat, 1 Apr 2023 19:04:02 +0000 (15:04 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 11 Apr 2023 10:21:15 +0000 (12:21 +0200)
commit65f8089b7ada050c876064957db949c931b76358
treee627ff587c3cae3447515f39862ef677c12caeaf
parent9cbc83726e3dc2d7cdc603030d0a63e4bc3f18ff
kirkwood: fix Linksys upgrade, restore config step

It appears that the refactor of the upgrade process for NAND devices
resulted in the nand_do_upgrade_success step not being called for
devices using the linksys.sh script. As a result, configuration was
not preserved over sysupgrade steps.

This restores the preservation of configs for kirkwood devices using the
linksys.sh script.

Fixes: e25e6d8e5407 ("base-files: fix and clean up nand sysupgrade code")
Fixes: #12298
Signed-off-by: Michael Trinidad <trinidude4@hotmail.com>
target/linux/kirkwood/base-files/lib/upgrade/linksys.sh