2021-02-01 15:40:13 +00:00
Get latest ipxe source from git.ipxe.org
----------------------------------------
2020-11-10 21:02:09 +00:00
2021-02-01 15:40:13 +00:00
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 ?)
2021-01-29 21:46:05 +00:00
2021-02-01 15:40:13 +00:00
1. git clone git://git.ipxe.org/ipxe.git
2. tar Jcvf xnba-<version>.tar.bz2 --exclude-vcs ipxe
2021-01-29 21:46:05 +00:00
2021-02-01 15:40:13 +00:00
Build xNBA rpm for xcat-dep
---------------------------
1. Clone xcat-dep/xnba and create a new branch
2. Checkin the generated xnba-<version>.tar.bz2 file from above into git
3. Modify patch files if needed and checkin into git. The patch files will automatically be applied during build step below.
The following patches contain modification for xCAT Network Boot Agent
2020-11-12 19:47:42 +00:00
ipxe-xnbaclass.patch
ipxe-machyp.patch
ipxe-dhcp.patch
ipxe-branding.patch
2021-02-01 15:40:13 +00:00
4. On x86 build machine, checkout the branch created above
2020-11-12 19:47:42 +00:00
2021-02-01 15:40:13 +00:00
For linux
---------
1. On x86 RHEL machine, install required package: xz-devel
2. RPM build: rpmbuild -ba xnba-undi.spec
3. Copy generated rpm xnba-undi-<version>.noarch.rpm into /gsa/pokgsa/projects/x/xcat/build/linux/xcat-dep/
2020-11-10 21:02:09 +00:00
2014-11-12 08:22:23 +00:00
2021-02-01 15:40:13 +00:00
For Debian
----------
1. On x86 Ubuntu machine, install required packages: dpkg-buildpackage, debhelper, and quilt
2. ./make_deb.sh: build the package from the binaries under "binary" directory
3. ./rebuild.sh : build the package from source code, this should only run on amd64/x86_64 platform, it will update the files under "binary" directory after compilation
4. Copy generated deb xnba-undi_<version>_all.deb into /gsa/pokgsa/projects/x/xcat/build/ubuntu/xcat-dep/xcat-dep/pool/main/x/xnba-undi/
2014-11-12 08:22:23 +00:00