Openwrt/target/linux
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
..
adm5120
adm8668
apm821xx kernel: update kernel 4.9 to 4.9.30 2017-05-27 00:48:37 +02:00
ar7
ar71xx ar71xx: Fix UBIFS work on Mikrotik RB95x devices 2017-05-31 11:36:21 +02:00
arc770
archs38
armvirt
at91
ath25
au1000
bcm53xx
brcm47xx brcm47xx: remove target specific network preinit config 2017-05-27 12:17:40 +02:00
brcm63xx
brcm2708 kernel: update kernel 4.9 to 4.9.30 2017-05-27 00:48:37 +02:00
cns3xxx
gemini
generic kernel: add missing config options 2017-05-27 11:30:38 +02:00
imx6 imx6: disable UART dma 2017-05-31 08:45:26 +02:00
ipq806x ipq806x: add qpic nand and bam dma node's in ipq4019 dts tree 2017-05-29 07:26:03 +02:00
ixp4xx
kirkwood
lantiq lantiq: pinctrl: xway: fix copy/paste error in xrx200_grps 2017-05-29 09:51:19 +02:00
layerscape
malta
mcs814x
mediatek
mpc85xx
mvebu mvebu: fix sysupgrade 2017-06-01 20:41:19 +02:00
mxs
octeon
omap
omap24xx
orion
oxnas
pistachio kernel: update kernel 4.9 to 4.9.30 2017-05-27 00:48:37 +02:00
ppc40x
ppc44x
ramips ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
rb532
sunxi sunxi: sysupgrade: sync with x86 2017-05-29 23:50:35 +02:00
uml
x86 x86: sysupgrade: explicitly rescan disk after writing partition table 2017-05-29 23:50:34 +02:00
xburst
zynq
Makefile