bsdinstall: react to WORKAROUND_HYBRID to force UEFI install on BIOS boot

This commit is contained in:
Franco Fichtner 2022-01-06 13:37:22 +01:00
parent d5e3ee56d6
commit 62340c0e6e

View file

@ -113,7 +113,8 @@ const char *
bootpart_type(const char *scheme, const char **mountpoint)
{
if (strcmp(x86_bootmethod(), "UEFI") == 0) {
if (strcmp(x86_bootmethod(), "UEFI") == 0 ||
getenv("WORKAROUND_HYBRID")) {
*mountpoint = "/boot/efi";
return ("efi");
}