aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-09-16 05:55:23 +0000
committerdancer <dancer>2002-09-16 05:55:23 +0000
commite542630eab0afa93c70a8ea001c34e6d9ebaedd1 (patch)
tree8049ff2ef7f19a262970e9c3c96ce440e044729c /pbuilder-checkparams
parentf8032f66b4aac34758b9664fd28bba8f651145b4 (diff)
downloadpbuilder-e542630eab0afa93c70a8ea001c34e6d9ebaedd1.tar
pbuilder-e542630eab0afa93c70a8ea001c34e6d9ebaedd1.tar.gz
+ * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use --internal-build-uml
+ + * pbuilder-modules (extractbuildplace): change to do less things + when INTERNAL_BUILD_UML is specified. + (cleanbuildplace): add check for INTERNAL_BUILD_UML + + * pbuilder-checkparams (--internal-build-uml): new option. +
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams9
1 files changed, 9 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index c9d2a4d..2068291 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -25,6 +25,8 @@
BASEBUILDPLACE="$BUILDPLACE"
BUILDPLACE="$BUILDPLACE/$$"
CHROOTEXEC="chroot $BUILDPLACE "
+#default value for this option is !empty!
+INTERNAL_BUILD_UML=""
while [ -n "$1" ]; do
case "$1" in
@@ -106,11 +108,18 @@ while [ -n "$1" ]; do
TIMEOUT_TIME="$2"
shift; shift;
;;
+ ## internal options.
--internal-chrootexec)
# specify custom chrootexec function -- this is internal debugging function
CHROOTEXEC="$2"
shift; shift;
;;
+ --internal-build-uml)
+ # specify this option if I am running inside UML.
+ echo " -> Running in pbuilder-user-mode-linux mode"
+ INTERNAL_BUILD_UML="yes"
+ shift;
+ ;;
--help)
showhelp
;;