1 |
commit: 9f1d501a12514c62efb8cd4afea7a68aaf9b5129 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 1 04:29:24 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 1 04:29:24 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9f1d501a |
7 |
|
8 |
Enable @module-rebuild for 2.1 branch. |
9 |
|
10 |
--- |
11 |
pym/portage/_sets/__init__.py | 5 +++++ |
12 |
1 files changed, 5 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py |
15 |
index c3b590e..3e6b0d8 100644 |
16 |
--- a/pym/portage/_sets/__init__.py |
17 |
+++ b/pym/portage/_sets/__init__.py |
18 |
@@ -131,6 +131,11 @@ class SetConfig(object): |
19 |
parser.set("usersets", "directory", "%(PORTAGE_CONFIGROOT)setc/portage/sets") |
20 |
parser.set("usersets", "world-candidate", "true") |
21 |
|
22 |
+ parser.remove_section("module-rebuild") |
23 |
+ parser.add_section("module-rebuild") |
24 |
+ parser.set("module-rebuild", "class", "portage.sets.dbapi.OwnerSet") |
25 |
+ parser.set("module-rebuild", "files", "/lib/modules") |
26 |
+ |
27 |
def update(self, setname, options): |
28 |
parser = self._parser |
29 |
self.errors = [] |