openwrt-owl/target/linux/x86
Felix Fietkau a14437024c x86: 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 patch solves ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39996
2014-03-21 15:55:07 +00:00
..
alix2 kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
base-files x86: fix sysupgrade 2014-03-21 15:55:07 +00:00
ep80579 x86: remove support for old kernels 2012-05-18 20:10:42 +00:00
generic kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
geos x86/geos: remove old kernel configs 2014-02-23 12:50:19 +00:00
image move most of the x86 image generation options to the main file 2014-01-07 10:18:55 +00:00
kvm_guest kernel: update 3.10 to 3.10.32 2014-02-23 10:59:40 +00:00
net5501 x86/net5501: remove old kernel config 2014-02-23 18:09:33 +00:00
olpc x86/olpc: remove old kernel config 2014-02-23 18:20:32 +00:00
patches-3.3 x86: switch rdc to to gpio_keys_polled 2013-07-19 13:20:39 +00:00
patches-3.8 x86: switch rdc to to gpio_keys_polled 2013-07-19 13:20:39 +00:00
patches-3.10 x86: fix MTD API usage in the RDC specific board patch 2014-02-23 21:15:56 +00:00
rdc x86/rdc: remove old kernel config 2014-02-23 21:16:04 +00:00
thincan x86/thincan: remove old kernel config 2014-02-23 13:07:24 +00:00
xen_domu x86/xen_domu: remove old kernel config 2014-02-23 13:00:23 +00:00
Makefile targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
base-files.mk x86: fix condition in base-files.mk 2013-10-18 11:45:33 +00:00
config-3.3 target: enable XZ BCJ decompressor code after r35097 2013-01-14 16:34:25 +00:00
config-3.8 x86: add support for 3.8 2013-04-07 15:53:05 +00:00
config-3.10 x86: add support for 3.10 2013-09-02 07:36:40 +00:00
modules.mk x86: fix kmod-gpio-pc8736x dependencies 2013-07-19 14:55:51 +00:00