diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-02 15:23:39 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-02 15:23:39 +0100 |
commit | 026411d571d2955e295eaa741c8a368d66730efc (patch) | |
tree | 4b693be7206f00020855a871b4052d185d793ad6 | |
parent | 5e8cf7baa99355385741fe47716c5c581f7ed8c8 (diff) | |
download | pbuilder-026411d571d2955e295eaa741c8a368d66730efc.tar pbuilder-026411d571d2955e295eaa741c8a368d66730efc.tar.gz |
Add aptitude if pbuilder-satisfydepends uses it
Install aptitude (with no possibility to override this) if
pbuilder-satisfydepends uses it; closes: 539578.
-rwxr-xr-x | pbuilder-createbuildenv | 7 | ||||
-rwxr-xr-x | pbuilderrc | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 48b0c05..1fc3f15 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -91,6 +91,13 @@ if [ -n "$REMOVEPACKAGES" ]; then fi recover_aptcache $CHROOTEXEC /usr/bin/apt-get -q -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade + +case `readlink -e /usr/lib/pbuilder/pbuilder-satisfydepends` in + *-aptitude) + EXTRAPACKAGES="$EXTRAPACKAGES aptitude" + ;; +esac + $CHROOTEXEC /usr/bin/apt-get -q -y --force-yes install build-essential dpkg-dev $EXTRAPACKAGES save_aptcache @@ -2,7 +2,7 @@ # pbuilderrc.5 for documentation BASETGZ=/var/cache/pbuilder/base.tgz -EXTRAPACKAGES="aptitude" +#EXTRAPACKAGES="" #export DEBIAN_BUILDARCH=athlon BUILDPLACE=/var/cache/pbuilder/build/ MIRRORSITE=http://cdn.debian.net/debian |