2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-23 01:51:54 +00:00

Modification for debian build

This commit is contained in:
cxhong 2020-11-12 10:21:38 -05:00
parent 34783c8166
commit 9d358873f3
13 changed files with 22 additions and 8 deletions

Binary file not shown.

View File

@ -1,3 +1,9 @@
xnba-undi (1.20.1-0) unstable; urgency=low
* Debian build for xnba-undi version 1.20.1
-- Casandra Qiu <cxhong@us.ibm.com> Mon, 16 Nov 2020 15:49:48 +0800
xnba-undi (1.0.3-7) unstable; urgency=low
* Initial Debian build

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.0.3
Standards-Version: 1.20.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.0.3-7_amd64.deb admin extra
xnba-undi_1.20.1-0_amd64.deb admin extra

View File

@ -0,0 +1 @@
../../ipxe-branding.patch

View File

@ -0,0 +1 @@
../../ipxe-dhcp.patch

View File

@ -0,0 +1 @@
../../ipxe-machyp.patch

View File

@ -0,0 +1 @@
../../ipxe-xnbaclass.patch

View File

@ -0,0 +1,4 @@
ipxe-branding.patch
ipxe-xnbaclass.patch
ipxe-machyp.patch
ipxe-dhcp.patch

View File

@ -12,7 +12,7 @@ build-stamp:
dh_testdir
# Add here commands to compile the package.
$(MAKE) -C src bin/undionly.kkpxe
$(MAKE) -C src bin-x86_64-efi/snponly.efi
$(MAKE) -C src bin-x86_64-efi/ipxe.efi
touch build-stamp
@ -33,7 +33,7 @@ install: build
# Add here commands to install the package into debian/<packagename>
cp src/bin/undionly.kkpxe `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.kpxe
cp src/bin-x86_64-efi/snponly.efi `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.efi
cp src/bin-x86_64-efi/ipxe.efi `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.efi
#dh_movefiles

View File

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

Binary file not shown.

View File

@ -25,7 +25,7 @@ The xCAT Network Boot Agent is a slightly modified version of iPXE. It provides
%prep
%setup -n ipxe
%setup -n xnba-1.20.1
%patch1 -p1
%patch2 -p1
%patch3 -p1