summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-24 06:48:42 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-24 06:48:42 +0000
commit0000984150c1695e9f67c66f72d7a8ac7c6e6b1d (patch)
treeba0cb7f776e9efc81c375752800f979174a94e8f
parent5a30bcd500e1b72b3e6cc15621cfc9177c333177 (diff)
downloadportage-0000984150c1695e9f67c66f72d7a8ac7c6e6b1d.tar.gz
portage-0000984150c1695e9f67c66f72d7a8ac7c6e6b1d.tar.bz2
portage-0000984150c1695e9f67c66f72d7a8ac7c6e6b1d.zip
Add droppriv keyword for the depend phase.
svn path=/main/trunk/; revision=7385
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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).