Add snponly build (bz 1981799)

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-24 14:29:13 -04:00
parent a660c0487a
commit 05bf8df60a

View File

@ -50,7 +50,7 @@
Name: ipxe
Version: %{date}
Release: 6.git%{hash}%{?dist}
Release: 7.git%{hash}%{?dist}
Summary: A network boot loader
License: GPLv2 with additional permissions and BSD
@ -155,7 +155,8 @@ make_ipxe() {
"$@"
}
make_ipxe bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.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} \
@ -204,6 +205,7 @@ 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/snponly.efi %{buildroot}/%{_datadir}/%{name}/ipxe-snponly-x86_64.efi
mkdir -p %{buildroot}%{_datadir}/%{name}/qemu/
@ -237,6 +239,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
@ -251,6 +254,9 @@ done
%endif
%changelog
* Sat Jul 24 2021 Cole Robinson <crobinso@redhat.com> - 20200823-7.git4bd064de
- Add snponly build (bz 1981799)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200823-6.git4bd064de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild