aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-09-13 02:32:06 +0000
committerdancer <dancer>2002-09-13 02:32:06 +0000
commit1e3917f63b1366a5ec23eb1d7fb5862e805e7e2f (patch)
treeedca0fca2788983fefb4e6d283fd715cccca2e2e /pbuilder-checkparams
parent3a7870a07b7d46465187fda7a48fd29f4f55481f (diff)
downloadpbuilder-1e3917f63b1366a5ec23eb1d7fb5862e805e7e2f.tar
pbuilder-1e3917f63b1366a5ec23eb1d7fb5862e805e7e2f.tar.gz
+ * pbuilder-checkparams (CHROOTEXEC): add --internal-chrootexec option to set CHROOTEXEC variable.
+ + * pbuilder-createbuildenv: remove def for CHROOTEXEC + * pbuilder-updatebuildenv: ditto + + * pbuilder-checkparams (CHROOTEXEC): CHROOTEXEC is set in checkparams, instead of -buildpackage etc.
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams7
1 files changed, 7 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 41daf86..c9d2a4d 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -24,6 +24,7 @@
# the default is to add a PID in the buildplace specified in the config file.
BASEBUILDPLACE="$BUILDPLACE"
BUILDPLACE="$BUILDPLACE/$$"
+CHROOTEXEC="chroot $BUILDPLACE "
while [ -n "$1" ]; do
case "$1" in
@@ -33,6 +34,7 @@ while [ -n "$1" ]; do
;;
--buildplace)
BUILDPLACE=$(readlink -f "$2");
+ CHROOTEXEC="chroot $BUILDPLACE "
shift; shift;
;;
--mirror)
@@ -104,6 +106,11 @@ while [ -n "$1" ]; do
TIMEOUT_TIME="$2"
shift; shift;
;;
+ --internal-chrootexec)
+ # specify custom chrootexec function -- this is internal debugging function
+ CHROOTEXEC="$2"
+ shift; shift;
+ ;;
--help)
showhelp
;;