[PATCH 2/2] stagebase.py: add package.accept_keywords to cleanup list

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 2/2] stagebase.py: add package.accept_keywords to cleanup list

Ben Kohler
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 999bf8df..3c60783b 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1217,7 +1217,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
               # optionally clean up portage configs
               if ("portage_prefix" in self.settings and
                       "sticky-config" not in self.settings["options"]):
-                       for _dir in "keywords", "mask", "unmask", "use":
+                       for _dir in "accept_keywords", "keywords",
"mask", "unmask", "use":
                               target = pjoin([self.settings['chroot_path'],
                                       "etc/portage/package.%s" % _dir,
                                       self.settings["portage_prefix"]])
--
2.13.6