import ipxe-20181214-5.git133f4c47.el8
This commit is contained in:
parent
daa159c18d
commit
7e07ef4ada
3
SOURCES/script.ipxe
Executable file
3
SOURCES/script.ipxe
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!ipxe
|
||||||
|
imgexec file:rhcert-script.ipxe
|
||||||
|
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
Name: ipxe
|
Name: ipxe
|
||||||
Version: %{date}
|
Version: %{date}
|
||||||
Release: 3.git%{hash}%{?dist}
|
Release: 5.git%{hash}%{?dist}
|
||||||
Summary: A network boot loader
|
Summary: A network boot loader
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -57,6 +57,7 @@ License: GPLv2 with additional permissions and BSD
|
|||||||
URL: http://ipxe.org/
|
URL: http://ipxe.org/
|
||||||
|
|
||||||
Source0: %{name}-%{version}-git%{hash}.tar.xz
|
Source0: %{name}-%{version}-git%{hash}.tar.xz
|
||||||
|
Source1: script.ipxe
|
||||||
|
|
||||||
# Enable IPv6 for qemu's config
|
# Enable IPv6 for qemu's config
|
||||||
# Sent upstream: http://lists.ipxe.org/pipermail/ipxe-devel/2015-November/004494.html
|
# 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
|
Obsoletes: gpxe <= 1.0.1
|
||||||
|
|
||||||
|
%package rhcert
|
||||||
|
Summary: Redhat hwcert custom ipxe image
|
||||||
|
Group: Development/Tools
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%package bootimgs
|
%package bootimgs
|
||||||
Summary: Network boot loader images in bootable USB, CD, floppy and GRUB formats
|
Summary: Network boot loader images in bootable USB, CD, floppy and GRUB formats
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -100,6 +106,9 @@ Group: Development/Tools
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: gpxe-roms-qemu <= 1.0.1
|
Obsoletes: gpxe-roms-qemu <= 1.0.1
|
||||||
|
|
||||||
|
%description rhcert
|
||||||
|
Custom ipxe image for use in hardware certification and validation
|
||||||
|
|
||||||
%description bootimgs
|
%description bootimgs
|
||||||
iPXE is an open source network bootloader. It provides a direct
|
iPXE is an open source network bootloader. It provides a direct
|
||||||
replacement for proprietary PXE ROMs, with many extra features such as
|
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 \
|
make_ipxe ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin \
|
||||||
bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} \
|
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-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.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
|
# the roms supported by qemu will be packaged separatedly
|
||||||
# remove from the main rom list and add them to qemu.list
|
# 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-i386.efi
|
||||||
%{_datadir}/%{name}/ipxe-x86_64.efi
|
%{_datadir}/%{name}/ipxe-x86_64.efi
|
||||||
%{_datadir}/%{name}/undionly.kpxe
|
%{_datadir}/%{name}/undionly.kpxe
|
||||||
|
%{_datadir}/%{name}/ipxe-snponly-x86_64.efi
|
||||||
%doc COPYING COPYING.GPLv2 COPYING.UBDL
|
%doc COPYING COPYING.GPLv2 COPYING.UBDL
|
||||||
|
|
||||||
%files roms -f rom.list
|
%files roms -f rom.list
|
||||||
@ -235,9 +252,19 @@ done
|
|||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%dir %{_datadir}/%{name}.efi
|
%dir %{_datadir}/%{name}.efi
|
||||||
%doc COPYING COPYING.GPLv2 COPYING.UBDL
|
%doc COPYING COPYING.GPLv2 COPYING.UBDL
|
||||||
|
|
||||||
|
%files rhcert
|
||||||
|
%dir %{_datadir}/%{name}
|
||||||
|
%{_datadir}/%{name}/ipxe-x86_64-rhcert.efi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 7 2020 Neil Horman <nhorman@redhat.com> - 20181210-5.git133f4c47
|
||||||
|
- Add rhcert subpackage (bz 1756012)
|
||||||
|
|
||||||
|
* Fri Dec 13 2019 Neil Horman <nhorman@redhat.com> - 20181210-4.git133f4c47
|
||||||
|
- Add snponly.efi image (bz 1776929)
|
||||||
|
|
||||||
* Tue Aug 13 2019 Danilo de Paula <ddepaula@redhat.com> - 20181210-3.git133f4c47
|
* Tue Aug 13 2019 Danilo de Paula <ddepaula@redhat.com> - 20181210-3.git133f4c47
|
||||||
- Release bump
|
- Release bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user