Make qmerge imply noclean for bug #129559.
authorZac Medico <zmedico@gentoo.org>
Tue, 11 Apr 2006 06:49:59 +0000 (06:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 11 Apr 2006 06:49:59 +0000 (06:49 -0000)
svn path=/main/trunk/; revision=3128

pym/portage.py

index d58d9a968a9933a8c3d7a7412b769cbd09aebcd9..9e5ebc4a8cd4a3091ca6219f8c9abc0dd8c8c51c 100644 (file)
@@ -2715,6 +2715,9 @@ def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea
                if not os.path.exists(mysettings["PORTAGE_BUILDDIR"]+"/.installed"):
                        print "!!! mydo=qmerge, but install phase hasn't been ran"
                        sys.exit(1)
+               # qmerge is a special phase that implies noclean.
+               if "noclean" not in mysettings.features:
+                       mysettings.features.append("noclean")
                #qmerge is specifically not supposed to do a runtime dep check
                return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["PORTAGE_BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree)
        elif mydo=="merge":