Enable @x11-module-rebuild for 2.1 branch.
authorZac Medico <zmedico@gentoo.org>
Tue, 4 Sep 2012 20:40:21 +0000 (13:40 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 4 Sep 2012 20:40:21 +0000 (13:40 -0700)
pym/portage/_sets/__init__.py

index 554c6ae0d4a331c12cb7205d5369afaa24d0e7f2..f92c2cba669e1acd05483422d101ec9b7d2e68a8 100644 (file)
@@ -142,6 +142,12 @@ class SetConfig(object):
                parser.set("module-rebuild", "class", "portage.sets.dbapi.OwnerSet")
                parser.set("module-rebuild", "files", "/lib/modules")
 
+               parser.remove_section("x11-module-rebuild")
+               parser.add_section("x11-module-rebuild")
+               parser.set("x11-module-rebuild", "class", "portage.sets.dbapi.OwnerSet")
+               parser.set("x11-module-rebuild", "files", "/usr/lib/xorg/modules")
+               parser.set("x11-module-rebuild", "exclude-files", "/usr/bin/Xorg")
+
        def update(self, setname, options):
                parser = self._parser
                self.errors = []