include-raw-deb_dpdk-build.sh revision 7e58a94a
1#!/bin/bash
2# basic build script example
3set -e -o pipefail
4# do nothing but print the current slave hostname
5hostname
6
7echo "cat /etc/bootstrap.sha"
8if [ -f /etc/bootstrap.sha ];then
9    cat /etc/bootstrap.sha
10else
11    echo "Cannot find /etc/bootstrap.sha"
12fi
13
14echo "cat /etc/bootstrap-functions.sha"
15if [ -f /etc/bootstrap-functions.sha ];then
16    cat /etc/bootstrap-functions.sha
17else
18    echo "Cannot find /etc/bootstrap-functions.sha"
19fi
20
21echo "sha1sum of this script: ${0}"
22sha1sum $0
23
24sudo apt-get install -y `dpkg-checkbuilddeps |& sed "s/dpkg-checkbuilddeps: Unmet build dependencies://g"`
25
26debuild -uc -us -j4
27
28echo "*******************************************************************"
29echo "* DEB_DPDK BUILD SUCCESSFULLY COMPLETED"
30echo "*******************************************************************"