From: C.J. Collier Date: Fri, 7 Oct 2016 04:47:59 +0000 (-0700) Subject: * check out pristine tarball from git X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0d24a884f77e53d820de82d0c3d72896223c7b95;p=ci-management.git * check out pristine tarball from git * run lintian after debuild (do not fail on lintian errors) Change-Id: I6416637dfbf9fe0131d24b3a8fcb53ec54066d24 Signed-off-by: C.J. Collier --- 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 "*******************************************************************"