[PATCH] pbuilder-buildpackage-funcs: always pass chroot to satisfydepends

Loïc Minier lool at dooz.org
Fri Jun 27 17:30:13 UTC 2008


Always pass --chroot to the pbuilder-satisfydepends; particulary useful
for pbuilder-satisfydepends-aptitude and -gdebi.
---
 pbuilder-buildpackage-funcs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index a36fcb4..780ff21 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" --internal-chrootexec "${CHROOTEXEC}" --chroot "${BUILDPLACE}" "${BUILDOPT}" ; then
 	:
     else
     # If asked to preserve the build place, and pbuilder-satisfydepends
-- 
1.5.6.3


--1yeeQ81UyVL57Vl7
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0007-Cleanup-rules.patch"



More information about the Pbuilder-maint mailing list