This will require lorax to actually put the plugin files in the image, but once they are there we get all the benefit of somebody else's code managing conditional package installs. --- pyanaconda/packaging/yumpayload.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py index 50f281d..97f0c8e 100644 --- a/pyanaconda/packaging/yumpayload.py +++ b/pyanaconda/packaging/yumpayload.py @@ -189,7 +189,11 @@ class YumPayload(PackagePayload):
# Set some configuration parameters that don't get set through a config # file. yum will know what to do with these. - self._yum.preconf.enabled_plugins = ["blacklist", "whiteout", "fastestmirror"] + # Enable all types of yum plugins. We're somewhat careful about what + # plugins we put in the environment. + self._yum.preconf.plugin_types = yum.plugins.ALL_TYPES + self._yum.preconf.enabled_plugins = ["blacklist", "whiteout", "fastestmirror", + "langpacks"] self._yum.preconf.fn = "/tmp/anaconda-yum.conf" self._yum.preconf.root = root # set this now to the best default we've got ; we'll update it if/when
On Tue, Nov 06, 2012 at 11:08:40AM -0800, Jesse Keating wrote:
This will require lorax to actually put the plugin files in the image, but once they are there we get all the benefit of somebody else's code managing conditional package installs.
pyanaconda/packaging/yumpayload.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Ack
anaconda-patches@lists.fedorahosted.org