aboutsummaryrefslogtreecommitdiff
path: root/pbuilder
diff options
context:
space:
mode:
authordancer <dancer>2003-02-22 10:49:46 +0000
committerdancer <dancer>2003-02-22 10:49:46 +0000
commit476cdc76f706dc24304b6f33ffb7d84a3ed3c9b5 (patch)
tree78125c9a6399b92feb306d9d2956cfc4c20de335 /pbuilder
parentc560eabe7471db0f911cc215c4d7adbb955902f9 (diff)
downloadpbuilder-476cdc76f706dc24304b6f33ffb7d84a3ed3c9b5.tar
pbuilder-476cdc76f706dc24304b6f33ffb7d84a3ed3c9b5.tar.gz
+2003-02-22 Junichi Uekawa <dancer@debian.org>
+ + * pbuilder: check if it is in UML mode, and do not warn if it is in + UML mode.
Diffstat (limited to 'pbuilder')
-rwxr-xr-xpbuilder6
1 files changed, 5 insertions, 1 deletions
diff --git a/pbuilder b/pbuilder
index 3626b4b..3ca75dc 100755
--- a/pbuilder
+++ b/pbuilder
@@ -39,10 +39,14 @@ case "$1" in
. /usr/lib/pbuilder/pbuilder-checkparams
extractbuildplace
trap umountproc_cleanbuildplace exit
- echo " -> entering the shell
+ if [ "${INTERNAL_BUILD_UML}" = "yes" ]; then
+ echo " -> entering the shell"
+ else
+ echo " -> entering the shell
DO NOT bind mount file system inside, they will be cleaned.
File extracted to: $BUILDPLACE
"
+ fi
chroot "$BUILDPLACE" bin/bash
;;
execute)