public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ipxe] rawhide: custom config: omit unnecessary features on QEMU+EFI
@ 2026-06-17 5:48 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-06-17 5:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ipxe
Branch : rawhide
Commit : 566deddaac36976c55e0e1f0eeed80fc6cc9916e
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-06-16T13:17:25+02:00
Stats : +19/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ipxe/c/566deddaac36976c55e0e1f0eeed80fc6cc9916e?branch=rawhide
Log:
custom config: omit unnecessary features on QEMU+EFI
Omit certain features in an effort to fit the EFI ROMs into 256 KiB
again.
Hunk copied from Debian:
https://salsa.debian.org/debian/ipxe/-/blob/3a84de89146d12417a17ccd542ca5f5d5bcec283/debian/patches/config-local.patch#L47
Only one ROM is still too big:
size of 10ec8139.rom is 262656
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
---
diff --git a/0001-build-customize-configuration.patch b/0001-build-customize-configuration.patch
index 8a9a3ea..192e49e 100644
--- a/0001-build-customize-configuration.patch
+++ b/0001-build-customize-configuration.patch
@@ -7,3 +7,22 @@ diff -rupN ipxe-20190125-git36a4c85f/src/config/local/general.h ipxe-20190125-gi
+/* Enable HTTPS */
+#define DOWNLOAD_PROTO_HTTPS
+#define DOWNLOAD_PROTO_NFS
+diff --git a/src/config/local/qemu/general.h b/src/config/local/qemu/general.h
+new file mode 100644
+index 0000000..036f80e
+--- /dev/null
++++ b/src/config/local/qemu/general.h
+@@ -0,0 +1,13 @@
++/*
++ * qemu EFI roms are built without HTTPS support,
++ * EFI does that on its own (and better)
++ */
++#ifdef PLATFORM_efi
++# undef DOWNLOAD_PROTO_HTTPS
++# undef CERT_CMD
++# undef SANBOOT_PROTO_AOE
++# undef NET_PROTO_STP
++# undef NET_PROTO_LACP
++# undef NET_PROTO_EAPOL
++# undef NET_PROTO_LLDP
++#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-17 5:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 5:48 [rpms/ipxe] rawhide: custom config: omit unnecessary features on QEMU+EFI Michal Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox