]> git.ipfire.org Git - oddments/ipfire-netboot.git/commitdiff
Make custom configuration.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Dec 2010 13:51:43 +0000 (14:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Dec 2010 13:51:43 +0000 (14:51 +0100)
Makefile
config/console.h [new file with mode: 0644]
config/general.h [new file with mode: 0644]

index 06a2a631f9c500d6826a4c3112c47914f8f8bbdd..1f09188bbd75b18f8c4084cde9be5adaf38d53ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,12 @@ clean:
        make -C gpxe/src clean
 
 $(TARGETS):
+       # Copy our configuration to the gPXE submodule
+       cp -vf config/* gpxe/src/config/local/
+
+       # Build the image
        make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@
+
+       # Copy the image to bin/
        -mkdir -pv $$(dirname $@)
        cp -vf gpxe/src/$@ $@
diff --git a/config/console.h b/config/console.h
new file mode 100644 (file)
index 0000000..c0de779
--- /dev/null
@@ -0,0 +1,3 @@
+
+// Disable serial console
+#undef CONSOLE_SERIAL
diff --git a/config/general.h b/config/general.h
new file mode 100644 (file)
index 0000000..e60a0e2
--- /dev/null
@@ -0,0 +1,16 @@
+
+#undef PRODUCT_NAME
+#define PRODUCT_NAME "IPFire Boot Server (boot.ipfire.org)"
+
+// Enable FTP protocol
+#define DOWNLOAD_PROTO_FTP
+
+// Disable SAN stuff
+#undef SANBOOT_CMD
+
+// Disable wireless stuff
+#undef IWMGMT_CMD
+#undef CRYPTO_80211_WEP
+#undef CRYPTO_80211_WPA
+#undef CRYPTO_80211_WPA2
+