openwrtv4/target/linux/oxnas/base-files/lib
Rafał Miłecki ce7f25066b oxnas: add platform_pre_upgrade for sysupgrade
We're in process of cleaning nand_do_platform_check. Currently it leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

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.

This follows all other targets making it finally possible to change
nand_do_platform_check.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47039
2015-09-24 09:18:59 +00:00
..
preinit add new target 'oxnas' 2014-11-26 09:00:08 +00:00
upgrade oxnas: add platform_pre_upgrade for sysupgrade 2015-09-24 09:18:59 +00:00
oxnas.sh add new target 'oxnas' 2014-11-26 09:00:08 +00:00