aboutsummaryrefslogtreecommitdiff
path: root/pbuilder
diff options
context:
space:
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)