]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix epel_url to use baseurl instead of mirrorlist 355/head
authorStefan Joosten <stefan@atcomputing.nl>
Thu, 22 Aug 2019 11:56:10 +0000 (13:56 +0200)
committerStefan Joosten <stefan@atcomputing.nl>
Thu, 22 Aug 2019 11:56:10 +0000 (13:56 +0200)
mkosi

diff --git a/mkosi b/mkosi
index a343f46c16a839110d584e8d3c35a481b07975b0..e6865bda705cddcb7fb8e80c156476e674e907f1 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -1590,7 +1590,7 @@ def install_centos(args: CommandLineArguments, workspace: str, do_run_build_scri
         updates_url = f"mirrorlist=http://mirrorlist.centos.org/?release={args.release}&arch=x86_64&repo=updates"
         extras_url = f"mirrorlist=http://mirrorlist.centos.org/?release={args.release}&arch=x86_64&repo=extras"
         centosplus_url = f"mirrorlist=http://mirrorlist.centos.org/?release={args.release}&arch=x86_64&repo=centosplus"
-        epel_url = f"mirrorlist=http://download.fedoraproject.org/pub/epel/{epel_release}/x86_64"
+        epel_url = f"baseurl=http://download.fedoraproject.org/pub/epel/{epel_release}/x86_64"
 
     config_file = os.path.join(workspace, "yum.conf")
     with open(config_file, "w") as f: