installer: Add support for multiple rootdev choices
On machines that can support multiple types of boot devices (eMMC + NVMe
/ SATA + NVMe), allow DEFAULT_ROOTDEV to be a space separted list of
strings, each contains a possible path to the device, where pathname
expansion is allowed.
BUG=chromium:655192
TEST=By setting DEFAULT_ROOTDEV to different values, check
get_fixed_dst_drive return the right value.
Change-Id: Icc78babaa9ae0a260c51c2caab715959d61eaa4c
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/540666
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2 files changed