From 6e73225d8dd9cfcfbd88deb9e5b105efe3b307a9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 28 2020 13:55:20 +0000 Subject: import ipxe-20181214-5.git133f4c47.el8 --- diff --git a/SOURCES/script.ipxe b/SOURCES/script.ipxe new file mode 100755 index 0000000..f519844 --- /dev/null +++ b/SOURCES/script.ipxe @@ -0,0 +1,3 @@ +#!ipxe +imgexec file:rhcert-script.ipxe + diff --git a/SPECS/ipxe.spec b/SPECS/ipxe.spec index 02712a0..50ccf7d 100644 --- a/SPECS/ipxe.spec +++ b/SPECS/ipxe.spec @@ -49,7 +49,7 @@ Name: ipxe Version: %{date} -Release: 3.git%{hash}%{?dist} +Release: 5.git%{hash}%{?dist} Summary: A network boot loader Group: System Environment/Base @@ -57,6 +57,7 @@ License: GPLv2 with additional permissions and BSD URL: http://ipxe.org/ Source0: %{name}-%{version}-git%{hash}.tar.xz +Source1: script.ipxe # Enable IPv6 for qemu's config # Sent upstream: http://lists.ipxe.org/pipermail/ipxe-devel/2015-November/004494.html @@ -81,6 +82,11 @@ BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu Obsoletes: gpxe <= 1.0.1 +%package rhcert +Summary: Redhat hwcert custom ipxe image +Group: Development/Tools +BuildArch: noarch + %package bootimgs Summary: Network boot loader images in bootable USB, CD, floppy and GRUB formats Group: Development/Tools @@ -100,6 +106,9 @@ Group: Development/Tools BuildArch: noarch Obsoletes: gpxe-roms-qemu <= 1.0.1 +%description rhcert +Custom ipxe image for use in hardware certification and validation + %description bootimgs iPXE is an open source network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as @@ -154,7 +163,12 @@ make_ipxe() { "$@" } -make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi +cp %{SOURCE1} . +make_ipxe bin-x86_64-efi/ipxe.efi EMBED=script.ipxe +mv bin-x86_64-efi/ipxe.efi bin-x86_64-efi/ipxe-rhcert.efi + +make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi \ + bin-x86_64-efi/snponly.efi make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \ bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \ @@ -200,6 +214,8 @@ popd cp -a src/bin-i386-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-i386.efi cp -a src/bin-x86_64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-x86_64.efi +cp -a src/bin-x86_64-efi/ipxe-rhcert.efi %{buildroot}/%{_datadir}/%{name}/ipxe-x86_64-rhcert.efi +cp -a src/bin-x86_64-efi/snponly.efi %{buildroot}/%{_datadir}/%{name}/ipxe-snponly-x86_64.efi # the roms supported by qemu will be packaged separatedly # remove from the main rom list and add them to qemu.list @@ -225,6 +241,7 @@ done %{_datadir}/%{name}/ipxe-i386.efi %{_datadir}/%{name}/ipxe-x86_64.efi %{_datadir}/%{name}/undionly.kpxe +%{_datadir}/%{name}/ipxe-snponly-x86_64.efi %doc COPYING COPYING.GPLv2 COPYING.UBDL %files roms -f rom.list @@ -235,9 +252,19 @@ done %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}.efi %doc COPYING COPYING.GPLv2 COPYING.UBDL + +%files rhcert +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/ipxe-x86_64-rhcert.efi %endif %changelog +* Tue Jan 7 2020 Neil Horman - 20181210-5.git133f4c47 +- Add rhcert subpackage (bz 1756012) + +* Fri Dec 13 2019 Neil Horman - 20181210-4.git133f4c47 +- Add snponly.efi image (bz 1776929) + * Tue Aug 13 2019 Danilo de Paula - 20181210-3.git133f4c47 - Release bump