openwrt/target/linux
Felix Fietkau 7c78ab8c21 x86_64: fix sysupgrade
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This issue was introduced for target x86. Since the target for x86_64 is
similar to x86, this issue is present also in this target. It solves the
ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Tested-By: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 39997
2014-03-21 15:55:11 +00:00
..
adm5120
adm8668
amazon
ar7
ar71xx ar71xx: rb95x: use correct SPI flash address 2014-03-12 12:52:39 +00:00
at91
atheros
au1000
avr32
bcm53xx
brcm47xx brcm47xx: add initial support for kernel 3.14 2014-03-12 23:28:41 +00:00
brcm63xx
brcm2708
cns3xxx Add GW2385 support 2014-03-12 13:40:13 +00:00
cns21xx
cobalt
ep93xx
gemini
generic kernel/generic: fix define in 642-bridge_port_isolate.patch 2014-03-19 14:26:48 +00:00
imx6
iop32x
ixp4xx add GW2375 support 2014-03-12 13:39:06 +00:00
kirkwood
lantiq
malta
mcs814x
mpc52xx
mpc83xx
mpc85xx
mvebu
mxs
octeon
omap switch the am335x-evmsk to the new wlcore bindings 2014-03-18 19:05:37 +00:00
omap24xx
orion
ppc40x
ppc44x
pxa
ramips ralink: add missing OF node 2014-03-18 19:22:13 +00:00
rb532
realview
sibyte
sparc
sunxi sunxi: init eth0 as lan instead of wan, add a couple boards 2014-03-20 22:46:18 +00:00
uml
x86 x86: fix sysupgrade 2014-03-21 15:55:07 +00:00
x86_64 x86_64: fix sysupgrade 2014-03-21 15:55:11 +00:00
xburst
Makefile