brcm2708: Implement sysupgrade
authorJohn Crispin <john@openwrt.org>
Tue, 14 Jul 2015 07:39:10 +0000 (07:39 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Jul 2015 07:39:10 +0000 (07:39 +0000)
commitcbb94b8d9836951aad01c056fdf951d5c8928aa7
tree4025dcd5a6c7368b98e8e9d33896ac9c6dd1d303
parent1933707c46d6dbd7dfcbabfd43370dadfe2045db
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>
SVN-Revision: 46347
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