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.
Klaus Kudielka 3140d38042 base-files: upgrade: add case to export_bootdevice
The factory uboot of the Turris Omnia boots with "root=b301", and we
instruct new users to sysupgrade from there (e.g. method 1, step 7).
Currently, this will fail with "Unable to determine upgrade device".
Add a new case to export_bootdevice, which parses the hex argument.

Ref: https://github.com/openwrt/openwrt/pull/2340#issuecomment-561317688
Fixes: 2e5a0b81ec ("mvebu: sysupgrade: sdcard: keep user added partitons")
Reviewed-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 3a4f587c46)
4 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: upgrade: add case to export_bootdevice 4 years ago
do_stage2 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 5 years ago
fwtool.sh base-files: fix ucert verification 5 years ago
nand.sh treewide: don't hardcode "sysupgrade.tgz" file name 5 years ago
stage2 base-files: add /usr/share/libubox/jshn.sh to sysupgrade stage2 5 years ago