From ebc83cdbf0fa2f6e94afea95123d80109100de92 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 10 Dec 2012 17:42:00 +0100 Subject: download upstream tarball with uscan if source/format = 3.0 (quilt) --- bin/d-i_build.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index a70646a5..3860e978 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -17,8 +17,9 @@ init_workspace() { # # clean # - rm -fv *.deb *.udeb *.dsc *_*.build *_*.changes *_*.tar.gz - + cd .. + rm -fv *.deb *.udeb *.dsc *_*.build *_*.changes *_*.tar.gz *_*.tar.bz2 *_*.tar.xz + cd workspace # # git clone and pull is done by jenkins job # @@ -42,7 +43,6 @@ pdebuild_package() { grep "Architecture:" debian/control return fi - # # prepare build # @@ -51,7 +51,13 @@ pdebuild_package() { else sudo pbuilder --update fi - + # + # 3.0 quilt is not happy without an upstream tarball + # + if [ "$(cat debian/source/format)" = "3.0 (quilt)" ] ; then + uscan --download-current-version + fi + # # # build # -- cgit v1.2.3-70-g09d2