The package rpms/ipxe.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/ipxe.git/commit/?id=74282a850eef6369....
Change: +%ifarch aarch64
Thanks.
Full change: ============
commit c91f95f3a0c1e23f87e076bcb10937489ff4d72b Author: Cole Robinson crobinso@redhat.com Date: Sun Apr 10 16:08:32 2022 -0400
Update to newer git snapshot
Use the commit requested in 2063876
commit 64113751c3729a2deaffbb1e1b6fd36e2c8bac6b Author: Michael Brown mcb30@ipxe.org Date: Thu Feb 10 12:47:25 2022 +0000
[efi] Enable IMAGE_GZIP by default for AArch64
Signed-off-by: Cole Robinson crobinso@redhat.com
diff --git a/ipxe.spec b/ipxe.spec index 1bab075..bc3171e 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -34,12 +34,12 @@ # # And then change these two:
-%global hash 4bd064de -%global date 20200823 +%global hash 64113751 +%global date 20220210
Name: ipxe Version: %{date} -Release: 9.git%{hash}%{?dist} +Release: 1.git%{hash}%{?dist} Summary: A network boot loader
License: GPLv2 with additional permissions and BSD @@ -278,6 +278,9 @@ cp -a src/bin-arm64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/arm64-efi/ipxe %endif
%changelog +* Sun Apr 10 2022 Cole Robinson crobinso@redhat.com - 20220210-1.git64113751 +- Update to newer git snapshot + * Tue Mar 01 2022 Yaakov Selkowitz yselkowi@redhat.com - 20200823-9.git4bd064de - Add aarch64 EFI artifacts (bz 2058680)
diff --git a/sources b/sources index 28e0946..ea363a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ipxe-20200823-git4bd064de.tar.xz) = 70c040352a5ab54e516df2f347128ff539bb7b689d3b26224c5ac073ac96b3107262beacfa8e0c604357f50bf7cc6fec86741a3d477d60b94dceb61d2365895c +SHA512 (ipxe-20220210-git64113751.tar.xz) = 3c7d80e2f841013bcb0cb917e13fac86e90e27deadc07d50fac99d8abf69b851a045eed376a095baebc28f5b04f5a9c88fc142979ca65800b9219216cd7fb81b
commit 74282a850eef63690ae02356d1fc528627eff7ba Author: Yaakov Selkowitz yselkowi@redhat.com Date: Mon Feb 28 22:15:45 2022 -0500
Add aarch64 EFI artifacts (bz 2058680)
diff --git a/ipxe.spec b/ipxe.spec index d3b9191..1bab075 100644 --- a/ipxe.spec +++ b/ipxe.spec @@ -1,7 +1,3 @@ -%if 0%{?fedora} -%global cross 1 -%endif - # ROMS we want for QEMU with format PCIID:QEMUNAME %global qemuroms \\ 8086100e:e1000 \\ @@ -18,17 +14,10 @@ 15ad07b0:vmxnet3 %endif
-# We only build the ROMs if on an x86 build host. The resulting +# We only build the ROMs if on an EFI build host. The resulting # binary RPM will be noarch, so other archs will still be able # to use the binary ROMs. -# -# We do cross-compilation for 32->64-bit, but not for other arches -# because EDK II does not support big-endian hosts. -%if 0%{?cross} -%global buildarches %{ix86} x86_64 -%else -%global buildarches x86_64 -%endif +%global buildarches x86_64 aarch64
# debugging firmwares does not go the same way as a normal program. # moreover, all architectures providing debuginfo for a single noarch @@ -50,7 +39,7 @@
Name: ipxe Version: %{date} -Release: 8.git%{hash}%{?dist} +Release: 9.git%{hash}%{?dist} Summary: A network boot loader
License: GPLv2 with additional permissions and BSD @@ -70,24 +59,26 @@ BuildRequires: perl-Getopt-Long BuildRequires: perl-FindBin BuildRequires: perl-lib %endif +%ifarch x86_64 BuildRequires: syslinux +%endif BuildRequires: mtools BuildRequires: xorriso BuildRequires: edk2-tools BuildRequires: xz-devel BuildRequires: gcc - BuildRequires: binutils-devel -%if 0%{?cross} -BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu -%endif BuildRequires: make
Obsoletes: gpxe <= 1.0.1 +%endif
-%package bootimgs -Summary: Network boot loader images in bootable USB, CD, floppy and GRUB formats +%ifarch x86_64 +%package bootimgs-x86 +Summary: X86 Network boot loader images in bootable USB, CD, floppy and GRUB formats BuildArch: noarch +Provides: %{name}-bootimgs = %{version}-%{release} +Obsoletes: %{name}-bootimgs < 20200823-9.git4bd064de Obsoletes: gpxe-bootimgs <= 1.0.1
%package roms @@ -101,7 +92,7 @@ Summary: Network boot loader roms supported by QEMU, .rom format BuildArch: noarch Obsoletes: gpxe-roms-qemu <= 1.0.1
-%description bootimgs +%description bootimgs-x86 iPXE is an open source network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as DNS, HTTP, iSCSI, etc. @@ -126,6 +117,19 @@ This package contains the iPXE ROMs for devices emulated by QEMU, in .rom format. %endif
+%ifarch aarch64 +%package bootimgs-aarch64 +Summary: ARM Network boot loader images in bootable USB and GRUB formats +BuildArch: noarch + +%description bootimgs-aarch64 +iPXE is an open source network bootloader. It provides a direct +replacement for proprietary PXE ROMs, with many extra features such as +DNS, HTTP, iSCSI, etc. + +This package contains the iPXE ARM boot images in USB and GRUB formats. +%endif + %description iPXE is an open source network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as @@ -134,27 +138,23 @@ DNS, HTTP, iSCSI, etc. %prep %setup -q -n %{name}-%{version}-git%{hash} %autopatch -p1 - - -%build -%ifarch %{buildarches} -cd src - # ath9k drivers are too big for an Option ROM, and ipxe devs say it doesn't # make sense anyways # http://lists.ipxe.org/pipermail/ipxe-devel/2012-March/001290.html -rm -rf drivers/net/ath/ath9k +rm -rf src/drivers/net/ath/ath9k + +%build +cd src
make_ipxe() { make %{?_smp_mflags} \ NO_WERROR=1 V=1 \ GITVERSION=%{hash} \ -%if 0%{?cross} - CROSS_COMPILE=x86_64-linux-gnu- \ -%endif "$@" }
+%ifarch x86_64 + make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi \ bin-x86_64-efi/snponly.efi
@@ -187,8 +187,15 @@ done
%endif
+%ifarch aarch64 +make_ipxe bin-arm64-efi/snponly.efi +%if 0%{?fedora} +make_ipxe bin-arm64-efi/ipxe.efi +%endif +%endif + %install -%ifarch %{buildarches} +%ifarch x86_64 mkdir -p %{buildroot}/%{_datadir}/%{name}/ mkdir -p %{buildroot}/%{_datadir}/%{name}.efi/ pushd src/bin/ @@ -225,12 +232,19 @@ for romstr in %{qemuroms}; do ln -s ../../ipxe.efi/${rom}.rom %{buildroot}%{_datadir}/%{name}/qemu/efi-${qemuname}.rom done
-# endif buildarches +# endif x86_64 %endif
+%ifarch aarch64 +mkdir -p %{buildroot}/%{_datadir}/%{name}/arm64-efi +cp -a src/bin-arm64-efi/snponly.efi %{buildroot}/%{_datadir}/%{name}/arm64-efi/snponly.efi +%if 0%{?fedora} +cp -a src/bin-arm64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/arm64-efi/ipxe.efi +%endif +%endif
-%ifarch %{buildarches} -%files bootimgs +%ifarch x86_64 +%files bootimgs-x86 %dir %{_datadir}/%{name} %{_datadir}/%{name}/ipxe.iso %{_datadir}/%{name}/ipxe.usb @@ -253,7 +267,20 @@ done %doc COPYING COPYING.GPLv2 COPYING.UBDL %endif
+%ifarch aarch64 +%files bootimgs-aarch64 +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/arm64-efi +%if 0%{?fedora} +%{_datadir}/%{name}/arm64-efi/ipxe.efi +%endif +%{_datadir}/%{name}/arm64-efi/snponly.efi +%endif + %changelog +* Tue Mar 01 2022 Yaakov Selkowitz yselkowi@redhat.com - 20200823-9.git4bd064de +- Add aarch64 EFI artifacts (bz 2058680) + * Thu Jan 20 2022 Fedora Release Engineering releng@fedoraproject.org - 20200823-8.git4bd064de - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild