From: Zac Medico Date: Tue, 11 Apr 2006 06:49:59 +0000 (-0000) Subject: Make qmerge imply noclean for bug #129559. X-Git-Tag: v2.1_pre9~40 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=41b6ab4619e72321784de4753e67f3945ad13775;p=portage.git Make qmerge imply noclean for bug #129559. svn path=/main/trunk/; revision=3128 --- diff --git a/pym/portage.py b/pym/portage.py index d58d9a968..9e5ebc4a8 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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":