diff --git a/Dockerfile b/Dockerfile index 02235a7..6d29d53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ CMD set -eux ; \ { \ git clone https://github.com/ipxe/ipxe.git ; \ cd ipxe/src ; \ - patch -p0 < /build/config.patch ; \ + patch -p2 < /build/config.patch ; \ make \ bin/ipxe.iso bin/ipxe.usb bin/undionly.kpxe \ bin-x86_64-efi/ipxe.iso bin-x86_64-efi/ipxe.usb \ diff --git a/config.patch b/config.patch index 8ecb07a..1e89a40 100644 --- a/config.patch +++ b/config.patch @@ -1,6 +1,21 @@ ---- config/general.h.orig 2024-06-15 18:56:04.002548342 +0000 -+++ config/general.h 2024-06-15 19:23:07.500619158 +0000 -@@ -36,10 +36,10 @@ +diff --git a/src/config/console.h b/src/config/console.h +index 9f770d09..bfc00d76 100644 +--- a/src/config/console.h ++++ b/src/config/console.h +@@ -35,7 +35,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + */ + + //#define CONSOLE_SERIAL /* Serial port console */ +-//#define CONSOLE_FRAMEBUFFER /* Graphical framebuffer console */ ++#define CONSOLE_FRAMEBUFFER /* Graphical framebuffer console */ + //#define CONSOLE_SYSLOG /* Syslog console */ + //#define CONSOLE_SYSLOGS /* Encrypted syslog console */ + //#define CONSOLE_VMWARE /* VMware logfile console */ +diff --git a/src/config/general.h b/src/config/general.h +index e883e072..b25943b1 100644 +--- a/src/config/general.h ++++ b/src/config/general.h +@@ -36,10 +36,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define NET_PROTO_IPV4 /* IPv4 protocol */ //#define NET_PROTO_IPV6 /* IPv6 protocol */ @@ -15,7 +30,7 @@ //#define NET_PROTO_LLDP /* Link Layer Discovery protocol */ /* -@@ -54,9 +54,9 @@ +@@ -54,9 +54,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); * */ @@ -27,7 +42,7 @@ #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */ #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */ #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */ -@@ -67,9 +67,9 @@ +@@ -67,9 +67,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); * */ @@ -40,3 +55,12 @@ //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */ //#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */ +@@ -161,7 +161,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + //#define PARAM_CMD /* Request parameter commands */ + //#define NEIGHBOUR_CMD /* Neighbour management commands */ + //#define PING_CMD /* Ping command */ +-//#define CONSOLE_CMD /* Console command */ ++#define CONSOLE_CMD /* Console command */ + //#define IPSTAT_CMD /* IP statistics commands */ + //#define PROFSTAT_CMD /* Profiling commands */ + //#define NTP_CMD /* NTP commands */