summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cnf/sets/portage.conf6
-rw-r--r--pym/portage/_sets/dbapi.py3
2 files changed, 6 insertions, 3 deletions
diff --git a/cnf/sets/portage.conf b/cnf/sets/portage.conf
index 34819fb22..49f25f666 100644
--- a/cnf/sets/portage.conf
+++ b/cnf/sets/portage.conf
@@ -56,14 +56,14 @@ includes = bzr cvs darcs git mercurial subversion tla
# Installed packages that own files inside /lib/modules.
[module-rebuild]
class = portage.sets.dbapi.OwnerSet
-files = %(EROOT)slib/modules
+files = /lib/modules
# Installed packages that own files inside /usr/lib/xorg/modules,
# excluding the package that owns /usr/bin/Xorg.
[x11-module-rebuild]
class = portage.sets.dbapi.OwnerSet
-files = %(EROOT)susr/lib/xorg/modules
-exclude-files = %(EROOT)susr/bin/Xorg
+files = /usr/lib/xorg/modules
+exclude-files = /usr/bin/Xorg
# Binary packages that have a different build time from a currently
# installed package of the exact same version.
diff --git a/pym/portage/_sets/dbapi.py b/pym/portage/_sets/dbapi.py
index 9bbc6df3d..d32f1b7b8 100644
--- a/pym/portage/_sets/dbapi.py
+++ b/pym/portage/_sets/dbapi.py
@@ -71,6 +71,9 @@ class OwnerSet(PackageSet):
self._files = files
def mapPathsToAtoms(self, paths, exclude_paths=None):
+ """
+ All paths must have $EROOT stripped from the left side.
+ """
rValue = set()
vardb = self._db
aux_get = vardb.aux_get