diff --git a/0001-build-customize-configuration.patch b/0001-build-customize-configuration.patch index 8a9a3ea..d6c7eff 100644 --- a/0001-build-customize-configuration.patch +++ b/0001-build-customize-configuration.patch @@ -1,9 +1,10 @@ -diff -rupN ipxe-20190125-git36a4c85f/src/config/local/general.h ipxe-20190125-git36a4c85f.new/src/config/local/general.h ---- ipxe-20190125-git36a4c85f/src/config/local/general.h 1970-01-01 01:00:00.000000000 +0100 -+++ ipxe-20190125-git36a4c85f.new/src/config/local/general.h 2019-02-01 16:40:42.725293033 +0000 -@@ -0,0 +1,5 @@ -+/* Enable IPv6. */ -+#define NET_PROTO_IPV6 -+/* Enable HTTPS */ -+#define DOWNLOAD_PROTO_HTTPS -+#define DOWNLOAD_PROTO_NFS +diff -Naupr ipxe-20240119-gitde8a0821/src/config/local/general.h ipxe-20240119-gitde8a0821.new/src/config/local/general.h +--- ipxe-20240119-gitde8a0821/src/config/local/general.h 1970-01-01 03:00:00 ++++ ipxe-20240119-gitde8a0821.new/src/config/local/general.h 2024-02-24 13:34:58 +@@ -0,0 +1,6 @@ ++// enable additional options ++#define NET_PROTO_IPV6 /* IPv6 protocol */ ++#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */ ++#define DOWNLOAD_PROTO_NFS /* Network File System Protocol */ ++#define REBOOT_CMD /* Reboot command */ ++#define POWEROFF_CMD /* Power off command */ diff --git a/ipxe.spec b/ipxe.spec index bb52190..6745d85 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -39,7 +39,7 @@ Name: ipxe Version: %{date} -Release: 1.git%{hash}%{?dist} +Release: 2.git%{hash}%{?dist} Summary: A network boot loader License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND (GPL-2.0-only OR MPL-1.1) AND GPL-2.0-or-later AND GPL-2.0-or-later WITH UBDL-exception AND ISC AND MIT @@ -278,6 +278,9 @@ cp -a src/bin-arm64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/arm64-efi/ipxe %endif %changelog +* Fri 23 2024 Konstantin Shalygin - 20240119-2.gitde8a0821 +- Added iPXE 'reboot' & 'poweroff' commands + * Tue Jan 30 2024 Daniel P. Berrangé - 20240119-1.gitde8a0821 - Update to latest git snapshot