mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
bsdinstall: react to WORKAROUND_HYBRID to force UEFI install on BIOS boot
This commit is contained in:
parent
d5e3ee56d6
commit
62340c0e6e
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue