[ipxe-devel] [PATCH] [efi] Use EFI command line as script
Ladi Prosek
lprosek at redhat.com
Fri Sep 8 12:04:31 UTC 2017
On Fri, Sep 8, 2017 at 2:00 PM, Ladi Prosek <lprosek at redhat.com> wrote:
> Analogous to passing a script to ipxe.lkrn via kernel parameters, this
> patch enables the same on EFI using the EFI command line, available in
> the LoadOptions field of EFI_LOADED_IMAGE_PROTOCOL.
>
> Signed-off-by: Ladi Prosek <lprosek at redhat.com>
Oops, sent too soon. I meant to annotate the patch with:
Originally-implemented-by: Christian Nilsson <nikize at gmail.com>
This patch is similar to what Christian Nilsson posted last year:
http://lists.ipxe.org/pipermail/ipxe-devel/2016-December/005306.html
Notable differences:
* the new logic is added to efi_init.c in this patch; it can't run within
efi_init() because it allocates, but it logically belongs to efi_init
* we're not stripping BOOT_IMAGE= and initrd= as these should not be
passed to us by EFI boot loaders (unlike Linux kernel loaders)
Thanks!
Ladi
More information about the ipxe-devel
mailing list