openwrtv3/package/base-files/files
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
..
bin base-files: uppercase default hostname: LEDE 2017-01-26 18:10:10 +01:00
etc base-files: fix default procd reload 2017-05-20 20:43:45 +02:00
lib mvebu: fix sysupgrade 2017-06-01 20:41:19 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add support for staged sysupgrades from failsafe mode 2017-05-29 23:50:33 +02:00
usr base-files: add ARCH_PACKAGES to openwrt_release and os-release 2017-01-16 13:29:47 +01:00