ipq806x: Fix Linksys upgrade, restore config step
authorJacob Aharon <ah.jacob@gmail.com>
Mon, 27 Mar 2023 01:12:48 +0000 (12:12 +1100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2023 12:22:37 +0000 (12:22 +0000)
commit2715aff5df836c1d3eb8cbf5afdb0c197902ee4b
tree469497b007e307880e06924245d416153f038b19
parent18d516a649175a91d334e584fac51e64ff8dd9bf
ipq806x: 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 ipq806x devices using the
linksys.sh script. Other devices and targets have not been examined.

This commit uses the same functionality and terminology used in commit
8634c10 ("ipq40xx: Fix Linksys upgrade, restore config step")

Fixes: e25e6d8 ("base-files: fix and clean up nand sysupgrade code")
Tested-on: EA8500

Signed-off-by: Jacob Aharon <ah.jacob@gmail.com>
target/linux/ipq806x/base-files/lib/upgrade/linksys.sh