summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-25 01:27:55 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-25 01:27:55 +0000
commitdd87c8dd63f0c6b16047aa851695f3a61aa75afa (patch)
tree0c01e308e8e0f79037e35499636d867d61e37c2a /pym
parent55ca8c6e65f323a3f5a558a4e116c3bebd4ce2d7 (diff)
downloadportage-dd87c8dd63f0c6b16047aa851695f3a61aa75afa.tar.gz
portage-dd87c8dd63f0c6b16047aa851695f3a61aa75afa.tar.bz2
portage-dd87c8dd63f0c6b16047aa851695f3a61aa75afa.zip
Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binary
is not installed. (trunk r12301) svn path=/main/branches/2.1.6/; revision=12324
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 09eeb85cb..6b3fefb29 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1789,6 +1789,11 @@ class config(object):
writemsg("!!! /etc/portage/profile/virtuals. Please move it to\n")
writemsg("!!! this new location.\n\n")
+ if "fakeroot" in self.features and \
+ not portage.process.fakeroot_capable:
+ writemsg("!!! FEATURES=fakeroot is enabled, but the " + \
+ "fakeroot binary is not installed.\n", noiselevel=-1)
+
def loadVirtuals(self,root):
"""Not currently used by portage."""
writemsg("DEPRECATED: portage.config.loadVirtuals\n")