From: Zac Medico Date: Tue, 24 Jul 2007 06:48:42 +0000 (-0000) Subject: Add droppriv keyword for the depend phase. X-Git-Tag: v2.2_pre1~946 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0000984150c1695e9f67c66f72d7a8ac7c6e6b1d;p=portage.git Add droppriv keyword for the depend phase. svn path=/main/trunk/; revision=7385 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 3fe82f63e..4efc04f5b 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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).