aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv5
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index bc81e89..067c82c 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -95,7 +95,10 @@ unloadhooks
umountproc
$TRAP cleanbuildplace exit
-create_basetgz
+# Internal_build_uml is set when --no-targz is set, this code is actually never called from pbuilder-user-mode-linux
+if [ ! "${INTERNAL_BUILD_UML}" = "yes" ]; then
+ create_basetgz
+fi
if [ "${PRESERVE_BUILDPLACE}" = "yes" ]; then
trap exit
fi