2 # basic build script example
4 # do nothing but print the current slave hostname
7 echo "cat /etc/bootstrap.sha"
8 if [ -f /etc/bootstrap.sha ];then
11 echo "Cannot find /etc/bootstrap.sha"
14 echo "cat /etc/bootstrap-functions.sha"
15 if [ -f /etc/bootstrap-functions.sha ];then
16 cat /etc/bootstrap-functions.sha
18 echo "Cannot find /etc/bootstrap-functions.sha"
21 echo "sha1sum of this script: ${0}"
24 MISSING_PKGS=$(dpkg-checkbuilddeps |& perl -pe 's/^.+://g; s/\(.*?\)//g')
25 sudo apt-get install -y ${MISSING_PKGS} devscripts
28 echo "*******************************************************************"
29 echo "* DEB_DPDK BUILD SUCCESSFULLY COMPLETED"
30 echo "*******************************************************************"