aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2003-04-08 14:07:01 +0000
committerdancer <dancer>2003-04-08 14:07:01 +0000
commit0dc3f0f47121860d1dc1c03b972b5a4390a22f5b (patch)
treebde7e60b78d3097a9d1d5f2abf4e1ce414140b8d /pbuilder-checkparams
parent75a5c6348610d497096f32289abeeaa46083545a (diff)
downloadpbuilder-0dc3f0f47121860d1dc1c03b972b5a4390a22f5b.tar
pbuilder-0dc3f0f47121860d1dc1c03b972b5a4390a22f5b.tar.gz
0.71 -- fix UML umount problem by not umounting at all
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams12
1 files changed, 11 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 57617f2..31a99ee 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -29,6 +29,9 @@ PBUILDER_BUILD_LOGFILE=
USE_PKGNAME_LOGFILE=""
PRESERVE_BUILDPLACE="no"
+#option for user-mode-linux only.
+IGNORE_UMOUNT=""
+
while [ -n "$1" ]; do
case "$1" in
--basetgz)
@@ -148,10 +151,17 @@ while [ -n "$1" ]; do
CHROOTEXEC="$2"
shift; shift;
;;
- --internal-build-uml|--no-targz)
+ --no-targz)
+ # specify this option if I am running in no-targz mode
+ echo " -> Running in no-targz mode"
+ INTERNAL_BUILD_UML="yes"
+ 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"
+ IGNORE_UMOUNT="yes"
shift;
;;