* run lintian after debuild (do not fail on lintian errors)
Change-Id: I6416637dfbf9fe0131d24b3a8fcb53ec54066d24
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
sha1sum $0
MISSING_PKGS=$(dpkg-checkbuilddeps |& perl -pe 's/^.+://g; s/\(.*?\)//g')
sha1sum $0
MISSING_PKGS=$(dpkg-checkbuilddeps |& perl -pe 's/^.+://g; s/\(.*?\)//g')
sudo apt-get install -y ${MISSING_PKGS} devscripts
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} ..
+
+# 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 "*******************************************************************"
echo "*******************************************************************"
echo "* DEB_DPDK BUILD SUCCESSFULLY COMPLETED"
echo "*******************************************************************"