public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ipxe] rawhide: custom config: omit unnecessary features on QEMU+EFI
Date: Wed, 17 Jun 2026 05:48:02 GMT	[thread overview]
Message-ID: <178167528258.1.15809517945671737783.rpms-ipxe-566deddaac36@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-17  5:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178167528258.1.15809517945671737783.rpms-ipxe-566deddaac36@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox