david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/arch/i386/prefix
Michael Brown b2332d5118 [prefix] Allow iPXE's own command line to be executed as a script
Some prefixes (e.g. .lkrn) allow a command line to be passed in to
iPXE.  At present, this command line is ignored.

If a command line is provided, treat it as an embedded script (without
an explicit "#!ipxe" magic marker).  This allows for patterns of
invocation such as

  title  iPXE
  kernel /boot/ipxe.lkrn dhcp && \
         sanboot iscsi:10.0.4.1::::iqn.2010-04.org.ipxe.dolphin:storage

Here GRUB is instructed to load ipxe.lkrn with an embedded script
equivalent to

  #!ipxe
  dhcp
  sanboot iscsi:10.0.4.1::::iqn.2010-04.org.ipxe.dolphin:storage

This can be used to effectively vary the embedded script without
having to rebuild ipxe.lkrn.

Originally-implemented-by: Dave Hansen <dave@sr71.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-03-07 22:28:31 +00:00
..
bootpart.S [legal] Add a selection of FILE_LICENCE declarations 2009-05-18 08:33:25 +01:00
dskprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
hdprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
kkpxeprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
kpxeprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
libprefix.S [prefix] Set the "size" bit in the GDT entry for the flat data segment 2011-03-01 16:09:09 +00:00
linuxprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
lkrnprefix.S [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
mbr.S Added active partition locator, and simple MBR built using it. 2007-07-05 00:21:01 +01:00
mromprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
nbiprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
nullprefix.S Prevent hundreds of errors from "make symcheck". The prefix exit path 2005-04-23 14:57:53 +00:00
pxeprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
romprefix.S [build] Use unique entry symbols for each prefix 2011-02-23 21:12:56 +00:00
undiloader.S [romprefix] Add missing FILE_LICENCE declaration to undiloader.S 2010-10-18 01:33:55 +01:00
unnrv2b16.S [legal] Add a selection of FILE_LICENCE declarations 2009-05-18 08:33:25 +01:00
unnrv2b.S [legal] Add a selection of FILE_LICENCE declarations 2009-05-18 08:33:25 +01:00
usbdisk.S Use partition type 0xeb ("EtherBoot"), to avoid any attempts to mount 2007-07-05 14:20:55 +01:00