You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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"
7 years ago
..
keep.d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206) 10 years ago
common.sh base-files: sysupgrade cleanup 7 years ago
fwtool.sh base-files: add a hint in sysupgrade that shows what to do when the image metadata check fails 8 years ago
nand.sh base-files: nand: use CI_KERNPART whenever the kernel volume is needed 7 years ago
stage2 mvebu: fix sysupgrade 7 years ago