Author: kevans
Date: Thu Mar 22 04:16:14 2018
New Revision: 331341
URL: https://svnweb.freebsd.org/changeset/base/331341
Log:
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
Modified:
head/stand/forth/efi.4th
Modified: head/stand/forth/efi.4th
==============================================================================
--- head/stand/forth/efi.4th Thu Mar 22 02:04:57 2018 (r331340)
+++ head/stand/forth/efi.4th Thu Mar 22 04:16:14 2018 (r331341)
@@ -34,7 +34,7 @@ only forth definitions
: maybe-efi-resizecons
efiboot? if
- efi-autoresizecons
+ s" efi-autoresizecons" evaluate
then
;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"