freebsd-dev/stand/uboot
Ian Lepore 98934c6843 Fix the handling of legacy-format devices in the u-boot loaderdev variable.
When I added support for the standard loader(8) disk0s2a: type formats,
the parsing of legacy format was broken because it also contains a colon,
but it comes before the slice and partition. That would cause disk_parsedev()
to return success with the slice and partition set to wildcard values.

This change examines the string first, and if it contains spaces, dots, or
a colon at any position other than the end, it must be a legacy-format
string and we don't even try to use disk_parsedev() on it.

Reported by:	Manuel Stuhn
2019-02-20 03:00:55 +00:00
..
common Fix the handling of legacy-format devices in the u-boot loaderdev variable. 2019-02-20 03:00:55 +00:00
fdt loader: fdt: Try to load every possible DTB from u-boot 2018-07-04 07:37:45 +00:00
lib Make uboot_devdesc properly alias disk_devdesc, so that parsing the u-boot 2019-02-18 04:44:52 +00:00
Makefile stand: Fix build after r330249 2018-03-01 21:46:01 +00:00
Makefile.inc