]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement uefi_ignore_boot_mgr env variable.
authorimp <imp@FreeBSD.org>
Mon, 29 Apr 2019 05:02:54 +0000 (05:02 +0000)
committerimp <imp@FreeBSD.org>
Mon, 29 Apr 2019 05:02:54 +0000 (05:02 +0000)
commit6a06ed6af25f3f34c2776af1cc19a67672b68b8b
treef054e8aae98953e999ca52651ed0fb81c84d4e3c
parentcb6a52efe878fbb1e1f811d82b84671215500342
Implement uefi_ignore_boot_mgr env variable.

When set, we ignore all the hints that the UEFI boot manager has set
for us. We also always fail back to the OK prompt when we can't find
the right thing to boot rather than failing back to the UEFI boot
manager. This has the side effect of also expanding the cases where we
fail back to the OK prompt to include when we're booted under UEFI,
but UEFI::BootCurrent isn't set in the environment and we can't find a
proper place to boot from.

Reviewed by: bcran
Differential Revision: https://reviews.freebsd.org/D20016
stand/efi/loader/main.c