From cf3072fad9a23cad88becf1a5e923e92c39dfdb1 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Apr 08 2014 21:24:34 +0000 Subject: Make i686 builds work maybe. I tried testing this, but mock got nothing buyt 404s from our repos. Our repos are pretty great. Signed-off-by: Peter Jones --- diff --git a/syslinux.spec b/syslinux.spec index 2cfdf54..5cdf098 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -15,6 +15,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nasm >= 0.98.38-1, perl, netpbm-progs, git BuildRequires: /usr/include/gnu/stubs-32.h BuildRequires: libuuid-devel +Requires: syslinux-nonlinux = %{version}-%{release} %ifarch %{ix86} Requires: mtools, libc.so.6 %endif @@ -50,6 +51,7 @@ Headers and libraries for syslinux development. Summary: The EXTLINUX bootloader, for booting the local system. Group: System/Boot Requires: syslinux +Requires: syslinux-extlinux-nonlinux = %{version}-%{release} %description extlinux The EXTLINUX bootloader, for booting the local system, as well as all @@ -59,17 +61,43 @@ the SYSLINUX/PXELINUX modules in /boot. Summary: SYSLINUX modules in /tftpboot, available for network booting Group: Applications/Internet Requires: syslinux +%ifarch x86_64 +Requires: syslinux-tftpboot(x86-32) = %{version}-%{release} +%endif %description tftpboot All the SYSLINUX/PXELINUX modules directly available for network booting in the /tftpboot directory. +%ifarch %{ix86} +%package extlinux-nonlinux +Summary: The parts of the EXTLINUX bootloader which aren't run from linux. +Group: System/Boot +Requires: syslinux + +%description extlinux-nonlinux +All the EXTLINUX binaries that run from the firmware rather than +from a linux host. + +%package nonlinux +Summary: SYSLINUX modules which aren't run from linux. +Group: System/Boot +Requires: syslinux + +%description nonlinux +All the SYSLINUX binaries that run from the firmware rather than from a +linux host. It also includes a tool, MEMDISK, which loads legacy operating +systems from media. +%endif + +%ifarch %{x86_64} %package efi64 Summary: SYSLINUX binaries and modules for 64-bit UEFI systems Group: System/Boot %description efi64 SYSLINUX binaries and modules for 64-bit UEFI systems +%endif %prep %setup -q -n syslinux-%{tarball_version} @@ -82,7 +110,9 @@ git am %{patches}