From 9f1d501a12514c62efb8cd4afea7a68aaf9b5129 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 31 Aug 2012 21:29:24 -0700 Subject: [PATCH] Enable @module-rebuild for 2.1 branch. --- pym/portage/_sets/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py index c3b590e92..3e6b0d85e 100644 --- a/pym/portage/_sets/__init__.py +++ b/pym/portage/_sets/__init__.py @@ -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 = [] -- 2.26.2