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

pym/portage.py

index 107d19ff1c96de2f0c3a2d1526deb04363200715..ac4371b44213c586f1d42838e7bdaf0db7f44f99 100644 (file)
@@ -3680,7 +3680,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).