procd: add 'platform_nand_pre_upgrade'
authorJohn Crispin <john@openwrt.org>
Sat, 12 Dec 2015 07:37:45 +0000 (07:37 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 12 Dec 2015 07:37:45 +0000 (07:37 +0000)
commitf99c61a94ad11d401690a64ef83e152a098c850f
tree3dc2aa7284d7f7cdcd2ceacbe1be0143ebbe1ee2
parentabc84551c04783c2d59fdd4aa474d5a82ed30cf5
procd: add 'platform_nand_pre_upgrade'

Add 'platform_nand_pre_upgrade' callback to allow platform specific
preparation right before flashinng, when already in ramdisk.

Example uses might be setting correct values for CI_{KERNPART,UBIPART}.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47879
package/system/procd/files/nand.sh