From: František Dvořák Date: Thu, 6 Mar 2014 23:13:41 +0000 (+0100) Subject: Experiments with pdebuild opts (Debian 7 has serious bugs in pbuilder, maybe --use... X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=eb7e6de0efe5870d9cd7b5eb2f5cfcaa7be0fe20;p=mock.git Experiments with pdebuild opts (Debian 7 has serious bugs in pbuilder, maybe --use-pdebuild-internal could work). --- diff --git a/mock.sh b/mock.sh index eb353a3..5317d17 100755 --- a/mock.sh +++ b/mock.sh @@ -26,6 +26,7 @@ DEBREPO_MAIN=${DEBREPO_MAIN:-~/debian} DEBREPO_DEPS=${DEBREPO_DEPS:-~/debian-externals} DEBDISTRO=${DEBDISTRO:-stable} #PBUILDER_OPTS='--debbuildopts "-j8"' +#PDEBUILD_OPTS='--use-pdebuild-internal' EXCLUDE=${EXCLUDE:-''} if test "x$1" = "x-r"; then @@ -128,7 +129,7 @@ pbuilder_build() { touch $REPORTS/fail.$BASENAME (cd $DIR; dpkg-source -x "`basename $FILE`") SUBDIR=`find $DIR -maxdepth 1 -type d -name ${BASENAME}-\* | head -n 1` - (cd $SUBDIR; pdebuild --buildresult $BASEDIR/results/pbuilder --auto-debsign --debsign-k $KEY_ID -- --hookdir $LAUNCHDIR/pbuilder $PBUILDER_OPTS) + (cd $SUBDIR; pdebuild --buildresult $BASEDIR/results/pbuilder --auto-debsign --debsign-k $KEY_ID $PDEBUILD_OPTS -- --hookdir $LAUNCHDIR/pbuilder $PBUILDER_OPTS) mv $DIR/*.build $REPORTS CHANGES=`find results/pbuilder -type f -name ${BASENAME}_\*.changes | head -n 1` # upload invalides the gpg sign