Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3:Update
ipxe.17062
ipxe.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ipxe.spec of Package ipxe.17062
# # spec file for package ipxe # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ipxe Version: 1.0.0+git20180203.546dd51d Release: 0 Summary: A Network Boot Firmware License: GPL-2.0-only Group: System/Boot Url: http://ipxe.org/ Source: %{name}-%{version}.tar.gz # PATCH-FIX-SUSE: See http://lists.ipxe.org/pipermail/ipxe-devel/2018-April/006139.html # We can probably drop this since the gcc option has been dropped during build # See http://lists.ipxe.org/pipermail/ipxe-devel/2018-April/006146.html # and https://github.com/ipxe/ipxe/commit/8ed4e3049f5fcb3a0b32f5190940e78c61654cff#diff-55d8c3cd8df4b3cc4beb7239822b6c95 Patch0: ipxe-efi-guard-strncpy-with-gcc-warning-ignore-pragma.patch # PATCH-FIX-SUSE: See http://lists.ipxe.org/pipermail/ipxe-devel/2018-August/006267.html # to check if it was applied upstream or not Patch1: ipxe-efi-recognize-plt32-relocation.patch Patch2: ipxe-aarch64-inline-asm-const-modifier.patch BuildRequires: /usr/bin/mkisofs BuildRequires: binutils-devel %if 0%{?sle_version} >= 150000 && 0%{?sle_version} < 159999 BuildRequires: cross-aarch64-gcc7 %else BuildRequires: cross-aarch64-gcc8 %endif BuildRequires: perl BuildRequires: syslinux BuildRequires: xz-devel # ix86 does not have a cross-x86_64 gcc available so it can't build # the x86_64 ipxe code. As a result of which, the support for ix86 # is more limited. ExclusiveArch: %{ix86} x86_64 %description iPXE is a network bootloader. It provides a direct replacement for proprietary PXE ROMs, with many extra features such as DNS, HTTP, iSCSI, etc. %package bootimgs Summary: Network boot loader images in bootable USB, CD, floppy and GRUB formats Group: Development/Tools/Other BuildArch: noarch %description bootimgs iPXE is a 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 boot images in USB, CD, floppy, and PXE UNDI formats. EFI is supported, too. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build cd src make_ipxe() { make %{?_smp_mflags} V=1 \ VERSION=%{version} "$@" } make_ipxe bin-i386-efi/ipxe.efi make_ipxe bin-i386-efi/snp.efi %ifarch x86_64 # ix86 can't cross-compile make_ipxe bin-x86_64-efi/ipxe.efi make_ipxe bin-x86_64-efi/snp.efi make_ipxe CROSS="aarch64-suse-linux-" bin-arm64-efi/snp.efi %endif # x86_64 make_ipxe bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} %install mkdir -p %{buildroot}/%{_datadir}/%{name}/ mkdir -p %{buildroot}/%{_datadir}/%{name}.efi/ install -D -m0644 src/bin/undionly.kpxe %{buildroot}/%{_datadir}/%{name}/ install -D -m0644 src/bin/ipxe.{iso,usb,dsk,lkrn} %{buildroot}/%{_datadir}/%{name}/ install -D -m0644 src/bin-i386-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-i386.efi install -D -m0644 src/bin-i386-efi/snp.efi %{buildroot}/%{_datadir}/%{name}/snp-i386.efi %ifarch x86_64 install -D -m0644 src/bin-x86_64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-x86_64.efi install -D -m0644 src/bin-x86_64-efi/snp.efi %{buildroot}/%{_datadir}/%{name}/snp-x86_64.efi install -D -m0644 src/bin-arm64-efi/snp.efi %{buildroot}/%{_datadir}/%{name}/snp-arm64.efi %endif %files bootimgs %defattr(-,root,root) %dir %{_datadir}/%{name} %{_datadir}/%{name}/ipxe.iso %{_datadir}/%{name}/ipxe.usb %{_datadir}/%{name}/ipxe.dsk %{_datadir}/%{name}/ipxe.lkrn %{_datadir}/%{name}/ipxe-i386.efi %{_datadir}/%{name}/snp-i386.efi %ifarch x86_64 %{_datadir}/%{name}/ipxe-x86_64.efi %{_datadir}/%{name}/snp-x86_64.efi %{_datadir}/%{name}/snp-arm64.efi %endif %{_datadir}/%{name}/undionly.kpxe %doc COPYING COPYING.GPLv2 COPYING.UBDL %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor