2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-23 10:01:46 +00:00
xcat-dep/xnba/rebuild.sh

11 lines
283 B
Bash
Executable File

#!/bin/bash
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.21.1
cp `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.kpxe `pwd`/binary/
cp `pwd`/debian/`dh_listpackages`/tftpboot/xcat/xnba.efi `pwd`/binary/