From df44fd82f02bb9030728e6015b1cd65159dfd467 Mon Sep 17 00:00:00 2001 From: George T Kramer Date: Wed, 17 Jan 2018 13:02:55 -0800 Subject: [PATCH] Allow yum plugin usage When doing a yum install, plugins should be able to modify how this operation is performed. Allowing the use of a priority plugin, or a fastest mirror plugin, or other possibly useful plugins would be up to the user and dependent on the yum configuration they use for building the chroot for their bundles. Signed-off-by: George T Kramer --- bundle-chroot-builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle-chroot-builder.py b/bundle-chroot-builder.py index 83d7db1..4b42fa7 100755 --- a/bundle-chroot-builder.py +++ b/bundle-chroot-builder.py @@ -254,7 +254,7 @@ def create_chroots(args, state_dir, bundles, yum_conf): packager = ["dnf"] else: packager = ["yum"] - yum_cmd = packager + ["--config={}".format(yum_conf), "-y", "--noplugins", "--releasever={}".format(build_version)] + yum_cmd = packager + ["--config={}".format(yum_conf), "-y", "--releasever={}".format(build_version)] if 'local' in config == False: try: urllib.request.urlopen(conf_baseurl)