Browse Source

[contrib] Update rom-o-matic to build iPXE

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Floris Bos 13 years ago
parent
commit
b7d923f468

+ 7
- 7
contrib/rom-o-matic/bottom.php View File

@@ -27,25 +27,25 @@ Resources:
27 27
 <ul>
28 28
   <li>
29 29
     Source code for iPXE images is available at
30
-    <a href="http://etherboot.org/wiki/download" target="_blank">
31
-    http://etherboot.org/wiki/download</a>
30
+    <a href="http://www.ipxe.org/download" target="_blank">
31
+    http://www.ipxe.org/download</a>
32 32
     <br><br>
33 33
   </li>
34 34
   <li>
35 35
     For general information about using iPXE, please visit the
36
-    <a href="http://www.etherboot.org/" target="_blank">
37
-    Etherboot Project Home Page</a>
36
+    <a href="http://www.ipxe.org/" target="_blank">
37
+    iPXE Project Home Page</a>
38 38
     <br><br>
39 39
   </li>
40 40
   <li>
41 41
     For Email-based support for iPXE please join
42
-    <a href="http://etherboot.org/wiki/mailinglists" target="_blank">
43
-    Etherboot Project mailing lists.</a>
42
+    <a href="http://www.ipxe.org/contact" target="_blank">
43
+    iPXE Project mailing lists.</a>
44 44
     <br><br>
45 45
   </li>
46 46
   <li>
47 47
     For real-time online iPXE support via IRC please visit the
48
-    <a href="irc://irc.freenode.net/%23etherboot"> #etherboot channel
48
+    <a href="irc://irc.freenode.net/%23ipxe"> #ipxe channel
49 49
     of irc.freenode.net</a>.
50 50
     <br><br>
51 51
   </li>

+ 1
- 1
contrib/rom-o-matic/build.php View File

@@ -179,7 +179,7 @@ if ( $embedded_script != "" ) {
179 179
 
180 180
 // Make the requested image.  $status is set to 0 on success
181 181
 $make_target = "bin/${nic}.${fmt_extension}";
182
-$make_cmd = "make -C '$build_dir' '$make_target' $emb_script_cmd $2>&1";
182
+$make_cmd = "make -C '$build_dir' '$make_target' $emb_script_cmd 2>&1";
183 183
 
184 184
 exec ( $make_cmd, $maketxt, $status );
185 185
 

+ 1
- 1
contrib/rom-o-matic/directions.php View File

@@ -37,7 +37,7 @@
37 37
       <em>PCI VENDOR CODE</em> and <em>PCI DEVICE CODE</em>  <br>
38 38
       that match the NIC device for which you are making this image.<br><br>
39 39
       Information on how to determine NIC PCI IDs may be found
40
-      <a href="http://etherboot.org/wiki/romburning"
40
+      <a href="http://www.ipxe.org/howto/romburning"
41 41
       target="_blank">here</a>.
42 42
       <br><br>
43 43
       PCI VENDOR CODE:  <? echo textbox ( "pci_vendor_code",

+ 22
- 0
contrib/rom-o-matic/flag-table.php View File

@@ -98,6 +98,17 @@ $flag_table = array (
98 98
 	   "cfgsec" => "general"
99 99
 	   ),
100 100
 
101
+        "KEYBOARD_MAP"
102
+        => array (
103
+           "flag" => "KEYBOARD_MAP",
104
+           "type" => "choice",
105
+	   "options" => array("al","az","bg","by","cf","cz","de","dk","es","et","fi","fr",
106
+	      "gr","hu","il","it","lt","mk","mt","nl","no","pl","pt","ro","ru","sg","sr",
107
+	      "th","ua","uk","us","wo"),
108
+           "value" => "us",
109
+           "cfgsec" => "console"
110
+           ),
111
+
101 112
 	// End Console Options
102 113
 
103 114
 	// Begin Network Protocol Options:
@@ -487,6 +498,17 @@ $flag_table = array (
487 498
 
488 499
 	// End Wireless options
489 500
 
501
+	// Obscure options required to compile
502
+	"NETDEV_DISCARD_RATE"
503
+	=> array (
504
+	   "flag" => "NETDEV_DISCARD_RATE",
505
+	   "type" => "integer",
506
+	   "value" => "0",
507
+	   "cfgsec" => "general",
508
+	   "hide_from_user" => true
509
+	   )
510
+
511
+	// End Obscure options
490 512
 );
491 513
 
492 514
 // For emacs:

Loading…
Cancel
Save