https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202098
Bug ID: 202098
Summary: [EFI] boot/loader.efi: handle parameters and override
BOOTP root-path
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 159563
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159563&action=edit
Initialize environment using argv[]
Hi,
As discussed here on -hackers@ :
https://lists.freebsd.org/pipermail/freebsd-hackers/2015-August/048071.html
and for the record, here are two simple patches that allows the EFI loader to
set environment variables from arguments and locally override the root path
offered through BOOTP (through a new variable called
"dhcp.root-path.override").
This allows to chainload loader.efi and pass your root-path (and any other
variable) this way (e.g. with iPXE) :
#!ipxe
chain http://path.to/loader.efi dhcp.root-path.override=server_ip:/path/to/root
some_other_var=value
Those patches are quite basic and will probably need refactoring, but you get
the idea :p
Regards,
Ganael.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"