openwrtv4/target/linux/mvebu
Matthias Schiffer 5654a03768
mvebu: fix sysupgrade
mvebu was modifying RAMFS_COPY_BIN and RAMFS_COPY_DATA from a
sysupgrade_pre_upgrade hook. As the ramfs is created from stage2, this
did not have an effect anymore after the staged sysupgrade changes.

As it doesn't really hurt to copy fw_printenv and fw_setenv
unconditionally, simply add them in /lib/upgrade/platform.sh, so stage2
will see them.

Config copying is moved to a function called by platform_copy_config, where
it belongs.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Fixes: FS#821
Fixes: 30f61a34b4 "base-files: always use staged sysupgrade"
2017-06-01 20:41:19 +02:00
..
base-files mvebu: fix sysupgrade 2017-06-01 20:41:19 +02:00
files/arch/arm/boot/dts mvebu: wrt3200acm enable SDIO interface 2017-03-11 14:16:28 +01:00
image mvebu: clearfog: include DTB for all variants in image 2017-05-30 14:00:30 +02:00
patches-4.4 Revert "mvebu: remove linux 4.4 support" 2017-04-17 08:44:37 +02:00
patches-4.9 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
profiles uboot-mvebu: switch to u-boot.mk 2017-01-24 16:21:24 +01:00
config-4.4 Revert "mvebu: remove linux 4.4 support" 2017-04-17 08:44:37 +02:00
config-4.9 mvebu: enable disk led trigger 2017-03-08 19:06:04 +01:00
Makefile mvebu: add linux 4.9 support 2017-02-16 17:17:15 +01:00