[pbuilder] 01/02: satifydepends-apt: use the new --indep-only flag from APT 1.4~beta3 when building indep-only
Mattia Rizzolo
mattia at debian.org
Fri Jan 6 10:24:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit e04887a3b921f98d77888b28b82fd17f3f1ae498
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Jan 6 11:15:43 2017 +0100
satifydepends-apt: use the new --indep-only flag from APT 1.4~beta3 when building indep-only
---
pbuilder-satisfydepends-apt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pbuilder-satisfydepends-apt b/pbuilder-satisfydepends-apt
index c984424..21652b6 100755
--- a/pbuilder-satisfydepends-apt
+++ b/pbuilder-satisfydepends-apt
@@ -29,8 +29,8 @@ export PBUILDER_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder
function checkbuilddep_internal () {
# check whether apt is new enough
- if dpkg --compare-versions $($CHROOTEXEC dpkg-query -W -f '${Version}' apt) lt 1.2.2 ; then
- log.e "APT is not new enough to be used within this dependency resolver."
+ if dpkg --compare-versions $($CHROOTEXEC dpkg-query -W -f '${Version}' apt) lt 1.4~beta3 ; then
+ log.e "APT is not new enough to be used by this dependency resolver."
log.e "Please switch to a different resolver."
exit 1
fi
@@ -49,6 +49,7 @@ function checkbuilddep_internal () {
APTGETOPT[${#APTGETOPT[@]}]='--arch-only'
;;
"all")
+ APTGETOPT[${#APTGETOPT[@]}]='--indep-only'
;;
"any")
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list