aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-09-15 06:13:07 +0000
committerJohn Crispin <john@openwrt.org>2015-09-15 06:13:07 +0000
commit57c8708d64b4b641336615ef62114e89a4c6b892 (patch)
treef005dd995e260ff3909c513bd132c9a184465090 /package
parentef0f7e277e28782a453fb0286914e29dafc9a2dd (diff)
downloadupstream-57c8708d64b4b641336615ef62114e89a4c6b892.tar.gz
upstream-57c8708d64b4b641336615ef62114e89a4c6b892.tar.bz2
upstream-57c8708d64b4b641336615ef62114e89a4c6b892.zip
lantiq: add platform_pre_upgrade for sysupgrade
As explained in recent sysupgrade/nand.sh commits, current NAND sysupgrade is a bit misleading because of nand_do_platform_check behavior. It leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. Please note that because of current nand_upgrade_stage1 implementation this patch doesn't change any behaior yet. It only prepares lantiq target for changing nand_do_platform_check (it will be possible after preparing all other targets as well). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46939
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions