1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

forthloader: Don't break BIOS boots...

I thought I tested this scenario, but clearly I failed to. =(

BIOS boots won't have efi-autoresizecons, so trying to use it as a forth
word fails during include. Use evaluate on "efi-autoresizecons" as a string
instead to move any potential errors to runtime- safely after we've already
checked that we're booting UEFI.

Pointy hat to:	me
Reported by:	cy
This commit is contained in:
Kyle Evans 2018-03-22 04:16:14 +00:00
parent 5401e09688
commit 9afece1e2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331341

View File

@ -34,7 +34,7 @@ only forth definitions
: maybe-efi-resizecons
efiboot? if
efi-autoresizecons
s" efi-autoresizecons" evaluate
then
;