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
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
..
arch [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [bofm] Add support for BOFM under EFI 2011-03-03 02:40:04 +00:00
core [main] Remove shell prompt when using an embedded image 2011-03-07 20:42:36 +00:00
crypto [legal] Add FILE_LICENCE macro to some GPL-v2-or-later files 2010-12-03 23:38:15 +00:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [spi] Reset device on each access 2011-03-04 19:32:56 +00:00
hci [prompt] Replace shell_banner() with a generic prompt() function 2011-03-07 19:53:53 +00:00
image [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
include [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
interface [bofm] Add support for BOFM under EFI 2011-03-03 02:40:04 +00:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [iscsi] Change default initiator IQN 2011-03-03 22:23:44 +00:00
tests [bofm] Add offline BOFM test facility 2011-03-02 23:58:43 +00:00
usr [prompt] Replace shell_banner() with a generic prompt() function 2011-03-07 19:53:53 +00:00
util [fnrec] Enhance function recording 2010-12-09 13:11:27 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00
Makefile [bofm] Add core BOFM library 2011-03-02 23:58:43 +00:00
Makefile.housekeeping [build] Allow DEBUG=... to affect builds of assembler source files 2011-03-01 14:18:35 +00:00