openwrtv4/package/base-files/files/sbin
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
..
firstboot base-files: firstboot: pass down arguments such as -y to jffs2reset 2015-03-10 23:43:25 +00:00
hotplug-call base-files: add the DEVICENAME variable for hotplug scripts 2013-11-19 00:03:39 +00:00
led.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
sysupgrade base-files: add support for platform_pre_upgrade function 2015-04-09 14:33:03 +00:00
wifi scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00