diff options
Diffstat (limited to 'jjb/deb_dpdk')
-rw-r--r-- | jjb/deb_dpdk/include-raw-deb_dpdk-build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh b/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh index 45b3ee186..965ebcc8c 100644 --- a/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh +++ b/jjb/deb_dpdk/include-raw-deb_dpdk-build.sh @@ -22,9 +22,21 @@ echo "sha1sum of this script: ${0}" sha1sum $0 MISSING_PKGS=$(dpkg-checkbuilddeps |& perl -pe 's/^.+://g; s/\(.*?\)//g') + sudo apt-get install -y ${MISSING_PKGS} devscripts + +pkg_version=$(dpkg-parsechangelog --show-field Version) +orig_version=$(echo ${pkg_version} | sed s'/-.*//') +orig_tarball="dpdk_${orig_version}.orig.tar.gz" +pristine-tar checkout ${orig_tarball} +mv ${orig_tarball} .. + debuild -uc -us -j4 +# No fail on lintian errors +set +e +lintian --info --no-tag-display-limit "dpdk_${pkg_version}_source.changes" + echo "*******************************************************************" echo "* DEB_DPDK BUILD SUCCESSFULLY COMPLETED" echo "*******************************************************************" |