From 9e3755ba43b5757584eef0a12532bbbbd2b98df4 Mon Sep 17 00:00:00 2001 From: Stefan Joosten Date: Thu, 22 Aug 2019 13:56:10 +0200 Subject: [PATCH] Fix epel_url to use baseurl instead of mirrorlist --- mkosi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi b/mkosi index a343f46c1..e6865bda7 100755 --- 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: -- 2.47.2