From 41b6ab4619e72321784de4753e67f3945ad13775 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 11 Apr 2006 06:49:59 +0000 Subject: [PATCH] Make qmerge imply noclean for bug #129559. svn path=/main/trunk/; revision=3128 --- pym/portage.py | 3 +++ 1 file changed, 3 insertions(+) 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": -- 2.26.2