Skip to content

Commit

Permalink
[contrib] Update rom-o-matic to build iPXE
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
maxnet authored and mcb30 committed May 6, 2011
1 parent c1cc769 commit b7d923f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 9 deletions.
14 changes: 7 additions & 7 deletions contrib/rom-o-matic/bottom.php
Expand Up @@ -27,25 +27,25 @@
<ul>
<li>
Source code for iPXE images is available at
<a href="http://etherboot.org/wiki/download" target="_blank">
http://etherboot.org/wiki/download</a>
<a href="http://www.ipxe.org/download" target="_blank">
http://www.ipxe.org/download</a>
<br><br>
</li>
<li>
For general information about using iPXE, please visit the
<a href="http://www.etherboot.org/" target="_blank">
Etherboot Project Home Page</a>
<a href="http://www.ipxe.org/" target="_blank">
iPXE Project Home Page</a>
<br><br>
</li>
<li>
For Email-based support for iPXE please join
<a href="http://etherboot.org/wiki/mailinglists" target="_blank">
Etherboot Project mailing lists.</a>
<a href="http://www.ipxe.org/contact" target="_blank">
iPXE Project mailing lists.</a>
<br><br>
</li>
<li>
For real-time online iPXE support via IRC please visit the
<a href="irc://irc.freenode.net/%23etherboot"> #etherboot channel
<a href="irc://irc.freenode.net/%23ipxe"> #ipxe channel
of irc.freenode.net</a>.
<br><br>
</li>
Expand Down
2 changes: 1 addition & 1 deletion contrib/rom-o-matic/build.php
Expand Up @@ -179,7 +179,7 @@ function rm_build_dir ()

// Make the requested image. $status is set to 0 on success
$make_target = "bin/${nic}.${fmt_extension}";
$make_cmd = "make -C '$build_dir' '$make_target' $emb_script_cmd $2>&1";
$make_cmd = "make -C '$build_dir' '$make_target' $emb_script_cmd 2>&1";

exec ( $make_cmd, $maketxt, $status );

Expand Down
2 changes: 1 addition & 1 deletion contrib/rom-o-matic/directions.php
Expand Up @@ -37,7 +37,7 @@
<em>PCI VENDOR CODE</em> and <em>PCI DEVICE CODE</em> <br>
that match the NIC device for which you are making this image.<br><br>
Information on how to determine NIC PCI IDs may be found
<a href="http://etherboot.org/wiki/romburning"
<a href="http://www.ipxe.org/howto/romburning"
target="_blank">here</a>.
<br><br>
PCI VENDOR CODE: <? echo textbox ( "pci_vendor_code",
Expand Down
22 changes: 22 additions & 0 deletions contrib/rom-o-matic/flag-table.php
Expand Up @@ -98,6 +98,17 @@
"cfgsec" => "general"
),

"KEYBOARD_MAP"
=> array (
"flag" => "KEYBOARD_MAP",
"type" => "choice",
"options" => array("al","az","bg","by","cf","cz","de","dk","es","et","fi","fr",
"gr","hu","il","it","lt","mk","mt","nl","no","pl","pt","ro","ru","sg","sr",
"th","ua","uk","us","wo"),
"value" => "us",
"cfgsec" => "console"
),

// End Console Options

// Begin Network Protocol Options:
Expand Down Expand Up @@ -487,6 +498,17 @@

// End Wireless options

// Obscure options required to compile
"NETDEV_DISCARD_RATE"
=> array (
"flag" => "NETDEV_DISCARD_RATE",
"type" => "integer",
"value" => "0",
"cfgsec" => "general",
"hide_from_user" => true
)

// End Obscure options
);

// For emacs:
Expand Down

0 comments on commit b7d923f

Please sign in to comment.