diff options
author | John Crispin <john@openwrt.org> | 2015-04-09 14:33:03 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-04-09 14:33:03 +0000 |
commit | 5d8f9e03f15fb775e6cf7809052bbb7223268aa8 (patch) | |
tree | 861f16cba333ee53571082242177b2561f1e2a93 /package/system | |
parent | 4e213186008449743572203d584ad48e25be0bf0 (diff) | |
download | upstream-5d8f9e03f15fb775e6cf7809052bbb7223268aa8.tar.gz upstream-5d8f9e03f15fb775e6cf7809052bbb7223268aa8.tar.bz2 upstream-5d8f9e03f15fb775e6cf7809052bbb7223268aa8.zip |
base-files: add support for platform_pre_upgrade function
Current NAND sysupgrade process is a bit hard to follow due to the way
of triggering stage1. Currently this is done by leaving a /mark/ in the
form of /tmp/sysupgrade-nand-path during nand_do_platform_check.
Existence of this mark stops standard sysupgrade process (as the result
of sysupgrade_pre_upgrade exit). This may be a bit misleading.
Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45338
Diffstat (limited to 'package/system')
0 files changed, 0 insertions, 0 deletions