Bug#341916: [Pbuilder-maint] Bug#341916: --no-targz option creates tarball in pbuilder create

Junichi Uekawa dancer at netfort.gr.jp
Sun Dec 4 05:02:32 UTC 2005


Hi,

> pbuilder create with --no-targz creates a tarball
> although not creating a tarball is an expected result.
> 
> 
> breaks cowbuilder.
> 


The following is the diff I'm trying to commit.
I hope I don't break anything.


--- pbuilder-createbuildenv	4 Dec 2005 04:36:40 -0000	1.44
+++ pbuilder-createbuildenv	4 Dec 2005 05:01:26 -0000
@@ -95,7 +95,10 @@
 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






More information about the Pbuilder-maint mailing list