Add droppriv keyword for the depend phase.
authorZac Medico <zmedico@gentoo.org>
Tue, 24 Jul 2007 06:48:42 +0000 (06:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 24 Jul 2007 06:48:42 +0000 (06:48 -0000)
svn path=/main/trunk/; revision=7385

pym/portage/__init__.py

index 3fe82f63e7ec4c4b48693eb6b483e3fbf1d0c06e..4efc04f5b8b2aa94f0b954d4f282375ed410795d 100644 (file)
@@ -3791,7 +3791,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                                mysettings["dbkey"] = \
                                        os.path.join(mysettings.depcachedir, "aux_db_key_temp")
 
-                       return spawn(EBUILD_SH_BINARY + " depend", mysettings)
+                       return spawn(EBUILD_SH_BINARY + " depend", mysettings, droppriv=1)
 
                # Validate dependency metadata here to ensure that ebuilds with invalid
                # data are never installed (even via the ebuild command).