From e65c33cbcd7cd393b4dd2b9bf6387b4fe5273fd7 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:42:03 -0300 Subject: [PATCH] fix(syslinux): allow noarch xcat subpackage to ship bootloader blobs on EL8/EL9 The syslinux-xcat subpackage is BuildArch: noarch but deliberately bundles the arch-dependent PXELINUX/SYSLINUX bootloader blobs under /opt/xcat/share/xcat/netboot/syslinux. EL10 rpm does not flag these real-mode binaries, but EL8/EL9 rpm aborts the build with "Arch dependent binaries in noarch package", so syslinux-xcat 6.03 could not be rebuilt for rh8/rh9 and the 2.17 -> 2.18 upgrade had no syslinux-xcat >= 6.03-1 to satisfy xCAT 2.18. Set %_binaries_in_noarch_packages_terminate_build 0 so the self-contained xcat netboot payload builds across EL8/EL9/EL10. --- syslinux/syslinux-xcat.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/syslinux/syslinux-xcat.spec b/syslinux/syslinux-xcat.spec index 37a9de6..ec29645 100644 --- a/syslinux/syslinux-xcat.spec +++ b/syslinux/syslinux-xcat.spec @@ -1,6 +1,13 @@ # -*- rpm -*- %define RPMVERSION 6.03 %define VERSION 6.03 +# The syslinux-xcat subpackage is BuildArch: noarch but deliberately ships the +# arch-dependent PXELINUX/SYSLINUX bootloader blobs (pxelinux.0, *.c32) under +# /opt/xcat/share/xcat/netboot/syslinux. Newer rpm (EL10) does not flag these +# real-mode/COM32 binaries, but EL8/EL9 rpm aborts the build with +# "Arch dependent binaries in noarch package". Disable that QA gate so the +# self-contained xcat netboot payload builds across EL8/EL9/EL10. +%global _binaries_in_noarch_packages_terminate_build 0 Summary: Kernel loader which uses a FAT, ext2/3 or iso9660 filesystem or a PXE network Name: syslinux Version: %{RPMVERSION}