aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-12-26 20:06:59 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-12-26 20:06:59 +0900
commitd4a893eb3a93b5e5fdd1a10a605629c894ed757d (patch)
treee0efdcf65be2e18f3b4649ba79c0a0c6340823cf /pbuilder-buildpackage-funcs
parent9f0f8b76ab7289d63c6c5812b4737d0fbd7bcbbc (diff)
downloadpbuilder-d4a893eb3a93b5e5fdd1a10a605629c894ed757d.tar
pbuilder-d4a893eb3a93b5e5fdd1a10a605629c894ed757d.tar.gz
python-apt/gdebi based pbuilder-satisfydepends-gdebi (closes: #453388)
From: Michael Vogt <mvo@ubuntu.com> In Ubuntu, we've applied the attached patch to achieve the following: * Makefile: - Addded pbuilder-satisfydepends-gdebi * pbuilder-buildpackage-funcs: - always pass --chroot to the pbuilder-satisfydepends (needed for pbuilder-satisfydepends-gdebi) * pbuilder-satisfydepends-gdebi: - added alternative b-d resolver pbuilder-satisfydepends-gdebi is a build-dependencies resolver based on gdebi (that in turn uses python-apt/libapt). It is fast and does not need to build a dummy package. It should behave exactly like apt-get build-dep $pkg It used to be more interessting because of the speed gain when pbuilder-satisfydepends-classic was the default. You probably want to add a recommends or suggests for gdebi too (if you like the patch method). Modified by dancerj: --chroot is given before --chrootexec so that cowdancer can continue to work.
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index a36fcb4..5cdbe40 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -37,7 +37,7 @@ function checkbuilddep () {
yes) BUILDOPT="--binary-arch";;
*) ;;
esac
- if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" ; then
+ if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" ; then
:
else
# If asked to preserve the build place, and pbuilder-satisfydepends