2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-21 09:01:46 +00:00

Move to using ipxe archived from the git repository, no patches in the spec file needed

Build UEFI compatible xNBA



Former-commit-id: d12444a30b83f7a267812d51b6330cf734be8cbf
This commit is contained in:
jbjohnso 2011-08-19 18:02:38 +00:00
parent aec0d603a8
commit b363ffd24d
3 changed files with 10 additions and 25 deletions

BIN
xnba/xnba-1.0.2.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: xnba-kvm
Version: 1.0.2
Release: 2
Release: 4
Summary: xNBA loader for virtual guests
Obsoletes: etherboot-zroms-kvm
Provides: etherboot-zroms-kvm
@ -21,14 +21,14 @@ ExclusiveArch: i386 x86_64
%define os_release %(rpm -q --qf '%%{release}' %{Distribution}-release | cut -d"." -f 1)
Source0: ipxe-%{version}-%{release}.tar.bz2
Source0: xnba-%{version}.tar.bz2
%description
The xNBA network bootloader provides network boot capability for virtual machines with e1000 and virtio network devices. This includes iSCSI and PXE with tftp or ftp image download capability. It is a modified variant of gPXE
The xNBA network bootloader provides network boot capability for virtual machines with e1000 and virtio network devices. This includes iSCSI and PXE with tftp or ftp image download capability. It is a modified variant of iPXE
%prep
%setup -n ipxe-%{version}-%{release}
%setup -n xnba-%{version}
%build

View File

@ -1,6 +1,6 @@
Name: xnba-undi
Version: 1.0.2
Release: 1
Release: 4
Summary: xCAT Network Boot Agent for x86 PXE hosts
Obsoletes: gpxe-undi
@ -15,32 +15,14 @@ BuildArch: noarch
%define os_release %(rpm -q --qf '%%{release}' %{Distribution}-release | cut -d"." -f 1)
Source0: ipxe-20101112.tar.bz2
Patch0: ipxe-branding.patch
Patch1: ipxe-registersan.patch
Patch2: ipxe-config.patch
Patch3: ipxe-droppackets.patch
Patch4: ipxe-xnbaclass.patch
Patch5: ipxe-undinetchange.patch
Patch6: ipxe-expandfilename.patch
Patch7: ipxe-cmdlinesize.patch
Patch8: ipxe-machyp.patch
Source0: xnba-%{version}.tar.bz2
%description
The xCAT Network Boot Agent is a slightly modified version of gPXE. It provides enhanced boot features for any UNDI compliant x86 host. This includes iSCSI, http/ftp downloads, and gPXE script based booting.
%prep
%setup -n ipxe
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%setup -n xnba-%{version}
%build
@ -48,6 +30,7 @@ rm -rf %{buildroot}
cd src
make bin/undionly.kkpxe
make bin-x86_64-efi/snponly.efi
%install
@ -55,6 +38,7 @@ make bin/undionly.kkpxe
mkdir -p %{buildroot}/tftpboot/xcat
#Rename to avoid conflicting with potential vanilla undionly.kpxe that user may be using
cp src/bin/undionly.kkpxe %{buildroot}/tftpboot/xcat/xnba.kpxe
cp src/bin-x86_64-efi/snponly.efi %{buildroot}/tftpboot/xcat/xnba.efi
%post
@ -66,4 +50,5 @@ cp src/bin/undionly.kkpxe %{buildroot}/tftpboot/xcat/xnba.kpxe
%files
/tftpboot/xcat/xnba.kpxe
/tftpboot/xcat/xnba.efi
%changelog