Enable @module-rebuild for 2.1 branch.
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Sep 2012 04:29:24 +0000 (21:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Sep 2012 04:29:24 +0000 (21:29 -0700)
pym/portage/_sets/__init__.py

index c3b590e928f1d5bb18bbdb84f1d42ec366135937..3e6b0d85e2e80aac6bddfb69f6cab3e7e719d204 100644 (file)
@@ -131,6 +131,11 @@ class SetConfig(object):
                parser.set("usersets", "directory", "%(PORTAGE_CONFIGROOT)setc/portage/sets")
                parser.set("usersets", "world-candidate", "true")
 
+               parser.remove_section("module-rebuild")
+               parser.add_section("module-rebuild")
+               parser.set("module-rebuild", "class", "portage.sets.dbapi.OwnerSet")
+               parser.set("module-rebuild", "files", "/lib/modules")
+
        def update(self, setname, options):
                parser = self._parser
                self.errors = []