summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-24 20:31:15 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-24 20:31:15 +0000
commit8435b24bba973b29c735bed5fa1414e6eca878ce (patch)
tree13750dd574e9e33ef24db34540a1be96aa420a63 /pym/portage/__init__.py
parent699d3ba1d15a44ac2aea0c6b29db1770de4f9040 (diff)
downloadportage-8435b24bba973b29c735bed5fa1414e6eca878ce.tar.gz
portage-8435b24bba973b29c735bed5fa1414e6eca878ce.tar.bz2
portage-8435b24bba973b29c735bed5fa1414e6eca878ce.zip
Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binary
is not installed. svn path=/main/trunk/; revision=12301
Diffstat (limited to 'pym/portage/__init__.py')
-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 e015bd596..bc55a8847 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1799,6 +1799,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")