base-files: upgrade: add case to export_bootdevice
authorKlaus Kudielka <klaus.kudielka@gmail.com>
Sat, 17 Aug 2019 13:52:01 +0000 (15:52 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 9 Oct 2019 19:00:02 +0000 (21:00 +0200)
commit3a4f587c465a0531b820ca1a3e90eb05c4927b68
tree0c34da83749e4c46878e37a28fb0317aafb11ec7
parente0ce80d42ace6feba509da16795ab0eb81cf5bf4
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.

Fixes commit 2e5a0b81 ("mvebu: sysupgrade: sdcard: keep user added ...")

Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
package/base-files/files/lib/upgrade/common.sh