openwrt/package/base-files/files/lib
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)
2020-01-05 16:41:35 +01:00
..
functions base-files: use get_mac_binary() in mtd_get_mac_binary_ubi() 2019-09-29 11:32:05 +02:00
preinit base-files: move urandom seed bits into separate package 2019-07-22 09:53:01 +02:00
upgrade base-files: upgrade: add case to export_bootdevice 2020-01-05 16:41:35 +01:00
functions.sh base-files: apply new sysctl.conf at postinst 2019-09-04 13:18:19 +02:00