diff options
author | Mathias Kresin <dev@kresin.me> | 2017-12-18 20:32:18 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-02-16 14:44:02 +0100 |
commit | 188328111b46ebc9592ee0f5cbcd2439d1c4aef0 (patch) | |
tree | acf674c6db8e3004dcb3815ca34fc3092ec3adfb /target/linux/oxnas/base-files | |
parent | c4ac02ffca4e8b9ffe8c702abf4de4063d3097e6 (diff) | |
download | upstream-188328111b46ebc9592ee0f5cbcd2439d1c4aef0.tar.gz upstream-188328111b46ebc9592ee0f5cbcd2439d1c4aef0.tar.bz2 upstream-188328111b46ebc9592ee0f5cbcd2439d1c4aef0.zip |
treewide: move nand_do_upgrade call to platform_do_upgrade
Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated
with 30f61a34b4cf ("base-files: always use staged sysupgrade").
Update the platform upgrade code to use platform_do_upgrade() for NAND
images as well.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/oxnas/base-files')
-rw-r--r-- | target/linux/oxnas/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/oxnas/base-files/lib/upgrade/platform.sh b/target/linux/oxnas/base-files/lib/upgrade/platform.sh index 8c2e34762a..059d75f9a9 100644 --- a/target/linux/oxnas/base-files/lib/upgrade/platform.sh +++ b/target/linux/oxnas/base-files/lib/upgrade/platform.sh @@ -13,6 +13,6 @@ platform_check_image() { return $? } -platform_pre_upgrade() { +platform_do_upgrade() { nand_do_upgrade $1 } |