mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-07-16 19:00:45 +00:00
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.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user