openwrtv3/package/base-files/files
John Crispin 5d8f9e03f1 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
2015-04-09 14:33:03 +00:00
..
bin base-files: config_generate did not handle setups with more than 1 switch properly 2014-10-27 15:51:17 +00:00
etc base-files: add a init.d option that will start the syscall tracer 2015-03-26 10:58:17 +00:00
lib base-files: keep sysupgrade.tgz until /etc/init.d/done has been called 2015-03-22 15:11:20 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add support for platform_pre_upgrade function 2015-04-09 14:33:03 +00:00