2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 02:19:53 +00:00

Merge pull request #47 from xcat2/ipxe-2.21.1

Build new xnba-undi package based on ipxe version 1.21.1
This commit is contained in:
besawn 2021-09-30 12:43:41 -04:00 committed by GitHub
commit c381b21a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 14 deletions

View File

@ -1,10 +1,12 @@
Get latest ipxe source from git.ipxe.org
----------------------------------------
Current version is 1.20.1, the tar command below will use 1.20.1 to generate xnba-1.20.1.tar.bz2 the source code of ipxe version 1.20.1 (10/29/2020 ?)
Current ipxe version is 1.21.1 (released Dec 31,2020), the tar command below will generate xnba-1.21.1.tar.bz2
1. git clone git://git.ipxe.org/ipxe.git
2. tar Jcvf xnba-<version>.tar.bz2 --exclude-vcs ipxe
3. Optionally, if building is needed - cd src; make
1. Clone ipxe from github - git clone git://git.ipxe.org/ipxe.git
2. Verify version number - git describe --tags --always --long --abbrev=1 --match "v*"
3. Rename ipxe directory to xnba-<version> - mv ipxe xnba-1.21.1
4. Tar xnba-<version> directory - tar Jcvf xnba-1.21.1.tar.bz2 --exclude-vcs xnba-1.21.1
5. Optionally, if building is needed - cd src; make
Patch ipxe source

View File

@ -1,9 +1,14 @@
xnba-undi (1.21.1-1) unstable; urgency=low
* Debian build for xnba-undi version 1.21.1-1
-- Mark Gurevich <gurevich@us.ibm.com> Mon, 27 Sep 2021 15:49:48 +0800
xnba-undi (1.20.1-1) unstable; urgency=low
* Debian build for xnba-undi version 1.20.1-1
-- Mark Gurevich <gurevich@us.ibm.com> Tue, 8 Jun 2021 15:49:48 +0800
xnba-undi (1.20.1-0) unstable; urgency=low
* Debian build for xnba-undi version 1.20.1

View File

@ -3,7 +3,7 @@ Section: admin
Priority: extra
Maintainer: xCAT <xcat-user@lists.sourceforge.net>
Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 1.20.1-1
Standards-Version: 1.21.1-1
#Homepage: <insert the upstream URL, if relevant>
#Vcs-Git: git://git.debian.org/collab-maint/gpxe.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/gpxe.git;a=summary

View File

@ -1 +1 @@
xnba-undi_1.20.1-1_amd64.deb admin extra
xnba-undi_1.21.1-1_amd64.deb admin extra

View File

@ -9,7 +9,7 @@ index 69139dc1..d0e3f43f 100644
-VERSION_MINOR = 0
-VERSION_PATCH = 0
-EXTRAVERSION = +
+VERSION_MINOR = 20
+VERSION_MINOR = 21
+VERSION_PATCH = 1
+EXTRAVERSION = -1
endif

View File

@ -1,10 +1,10 @@
#!/bin/bash
tar xvf ./xnba-1.20.1.tar.bz2
cd xnba-1.20.1
tar xvf ./xnba-1.21.1.tar.bz2
cd xnba-1.21.1
cp -rL ../debian .
dpkg-buildpackage -uc -us -aamd64
cd -
rm -rf xnba-1.20.1
rm -rf xnba-1.21.1
cp `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.kpxe `pwd`/binary/
cp `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.efi `pwd`/binary/

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

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: xnba-undi
Version: 1.20.1
Version: 1.21.1
Release: 1
Summary: xCAT Network Boot Agent for x86 PXE hosts
@ -14,7 +14,7 @@ BuildArch: noarch
%define os_release %(rpm -q --qf '%%{release}' %{Distribution}-release | cut -d"." -f 1)
Source: xnba-1.20.1.tar.bz2
Source: xnba-1.21.1.tar.bz2
Patch1: ipxe-branding.patch
Patch2: ipxe-machyp.patch
Patch3: ipxe-xnbaclass.patch
@ -26,7 +26,7 @@ The xCAT Network Boot Agent is a slightly modified version of iPXE. It provides
%prep
%setup -n xnba-1.20.1
%setup -n xnba-1.21.1
%patch1 -p1
%patch2 -p1
%patch3 -p1