You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
firstboot base-files: firstboot: pass down arguments such as -y to jffs2reset 9 years ago
hotplug-call base-files: add the DEVICENAME variable for hotplug scripts 11 years ago
led.sh scripts: fix wrong usage of '==' operator 10 years ago
sysupgrade base-files: add support for platform_pre_upgrade function 9 years ago
wifi scripts: fix wrong usage of '==' operator 10 years ago