From: Stefan Joosten Date: Thu, 22 Aug 2019 11:56:10 +0000 (+0200) Subject: Fix epel_url to use baseurl instead of mirrorlist X-Git-Tag: v6~107^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F355%2Fhead;p=thirdparty%2Fmkosi.git Fix epel_url to use baseurl instead of mirrorlist --- 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: