diff options
author | C.J. Collier <cjcollier@linuxfoundation.org> | 2016-10-06 21:47:59 -0700 |
---|---|---|
committer | C.J. Collier <cjcollier@linuxfoundation.org> | 2016-10-06 22:52:24 -0700 |
commit | 0d24a884f77e53d820de82d0c3d72896223c7b95 (patch) | |
tree | 886d145149a03e818d6c57f01a01cff0934f6913 /jjb/deb_dpdk | |
parent | 33a44f508937fe950dadc4098bcd9fdd05c9955d (diff) |
* 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 <cjcollier@linuxfoundation.org>
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 "*******************************************************************" |