procd: firstboot nand/ubi takeover support
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Dec 2014 14:32:32 +0000 (14:32 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Dec 2014 14:32:32 +0000 (14:32 +0000)
commitda746543d798123b03e1ec42e45ed07b831d659d
tree744cdeaf080f98811a14b92ab9ca7749c3c781ef
parent7c84f38fd4e8347908e0b2403f215df8781c7dc1
procd: firstboot nand/ubi takeover support

it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43505 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/Makefile
package/system/procd/files/nand-preinit.sh [new file with mode: 0644]