mirror of
https://github.com/clearlinux/bundle-chroot-builder.git
synced 2026-08-18 19:45:49 +00:00
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 <george.t.kramer@intel.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user