openwrtv3/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 kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
ar71xx ar71xx: rb95x: use correct SPI flash address 2014-03-12 12:52:39 +00:00
at91 at91: fix typo in network file 2013-11-17 17:14:32 +00:00
atheros kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
au1000 au1000: make sysupgrade compatible with all file system types 2013-11-07 12:46:16 +00:00
avr32 kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
bcm53xx kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
brcm47xx brcm47xx: add initial support for kernel 3.14 2014-03-12 23:28:41 +00:00
brcm63xx brcm63xx: add preliminary support for 3.13 2014-02-24 15:54:12 +00:00
brcm2708 brcm2708: update against latest rpi-3.10.y branch 2014-02-28 20:30:08 +00:00
cns3xxx Add GW2385 support 2014-03-12 13:40:13 +00:00
cns21xx kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
cobalt cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
generic kernel/generic: fix define in 642-bridge_port_isolate.patch 2014-03-19 14:26:48 +00:00
imx6 imx6: optimize for NEON FPU hardware 2014-02-27 22:41:40 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx add GW2375 support 2014-03-12 13:39:06 +00:00
kirkwood kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
lantiq kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
malta kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
mpc85xx kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
mvebu kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
mxs upgrade 3.13 targets to 3.13.2, refresh patches 2014-02-13 13:27:14 +00:00
octeon kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
omap switch the am335x-evmsk to the new wlcore bindings 2014-03-18 19:05:37 +00:00
omap24xx additional musb fixups 2014-02-09 16:14:30 +00:00
orion build: unify arm target cflags 2013-09-26 17:53:20 +00:00
ppc40x kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
ppc44x kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips ralink: add missing OF node 2014-03-18 19:22:13 +00:00
rb532 kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
realview realview: fix zImage-initramfs installation 2014-02-27 00:12:53 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
sunxi sunxi: init eth0 as lan instead of wan, add a couple boards 2014-03-20 22:46:18 +00:00
uml target/uml: update README 2014-02-18 22:16:04 +00:00
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 kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00