brcm2708: Implement sysupgrade
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 07:39:10 +0000 (07:39 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 07:39:10 +0000 (07:39 +0000)
commit49f8801514837980bd80dd3fa1c24e82897d2e5c
tree4025dcd5a6c7368b98e8e9d33896ac9c6dd1d303
parent396fd3cfbd95d0b48844d7b8f37364da0e2fcb0b
brcm2708: Implement sysupgrade

Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86:
The config files are saved in the boot partition and moved to where they are
normally expected in preinit.

Also add optional gzip compression for the SD card image, since this can save
a lot of space (76M vs 6M), also similar to x86.

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46347 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm2708/Makefile
target/linux/brcm2708/base-files/lib/preinit/79_move_config [new file with mode: 0644]
target/linux/brcm2708/base-files/lib/upgrade/platform.sh [new file with mode: 0644]
target/linux/brcm2708/image/Makefile