Source: ipxe
Version: 1.0.0+git-20190125.36a4c85-5
Severity: wishlist
User: [email protected]
Usertags: debian-edu
Tags: patch

Hi,

while working on Debian Edu 11 (Bullseye), switching from PXE to iPXE 
network booting, I noticed that iPXE doesn't support menu background 
images by default.

Please check if the attached patch would be acceptable.

Wolfgang
From 4143de65f2b0b5b711ab04f09a474cee18c8d230 Mon Sep 17 00:00:00 2001
From: Wolfgang Schweer <[email protected]>
Date: Sun, 29 Mar 2020 14:26:43 +0200
Subject: [PATCH] Add support for menu background image

Signed-off-by: Wolfgang Schweer <[email protected]>
---
 debian/config/console.h | 1 +
 debian/config/general.h | 1 +
 debian/util/geniso      | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 debian/config/console.h

diff --git a/debian/config/console.h b/debian/config/console.h
new file mode 100644
index 00000000..3d69304f
--- /dev/null
+++ b/debian/config/console.h
@@ -0,0 +1 @@
+#define CONSOLE_FRAMEBUFFER
diff --git a/debian/config/general.h b/debian/config/general.h
index ae587237..28c6560d 100644
--- a/debian/config/general.h
+++ b/debian/config/general.h
@@ -3,3 +3,4 @@
 
 #define NET_PROTO_IPV6
 #define DOWNLOAD_PROTO_NFS
+#define CONSOLE_CMD
diff --git a/debian/util/geniso b/debian/util/geniso
index 13d9275e..0b84c9e3 100755
--- a/debian/util/geniso
+++ b/debian/util/geniso
@@ -32,7 +32,7 @@ cp /usr/lib/ISOLINUX/isolinux.bin ${dir}
 cp /usr/lib/syslinux/modules/bios/ldlinux.c32 ${dir}
 
 # generate EFI boot image
-blocks=$((($(stat -c %s "$EFI") / 1024 + 55) / 32 * 32 ))
+blocks=$((($(stat -c %s "$EFI") / 1024 + 56) / 32 * 32 ))
 mkfs.msdos -C ${dir}/efi.img $blocks >/dev/null
 mmd -i ${dir}/efi.img ::efi
 mmd -i ${dir}/efi.img ::efi/boot
-- 
2.26.0

Attachment: signature.asc
Description: PGP signature

Reply via email to