From: Daan De Meyer Date: Mon, 16 Jan 2023 12:23:33 +0000 (+0100) Subject: centos: Use lowercase repo identifiers everywhere X-Git-Tag: v15~362^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d60f24536d438bc9127607ba360b898777e70ca;p=thirdparty%2Fmkosi.git centos: Use lowercase repo identifiers everywhere --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index 59031912c..0c1928cee 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -153,15 +153,15 @@ class CentosInstaller(DistributionInstaller): powertools_url = f"mirrorlist={cls._mirror_repo_url(config, 'PowerTools')}" epel_url = f"mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-{epel_release}&arch=$basearch" - repos = [Repo("AppStream", appstream_url, gpgpath, gpgurl)] + repos = [Repo("appstream", appstream_url, gpgpath, gpgurl)] if baseos_url is not None: - repos += [Repo("BaseOS", baseos_url, gpgpath, gpgurl)] + repos += [Repo("baseos", baseos_url, gpgpath, gpgurl)] if extras_url is not None: repos += [Repo("extras", extras_url, gpgpath, gpgurl)] if crb_url is not None: - repos += [Repo("CRB", crb_url, gpgpath, gpgurl)] + repos += [Repo("crb", crb_url, gpgpath, gpgurl)] if powertools_url is not None: - repos += [Repo("PowerTools", powertools_url, gpgpath, gpgurl)] + repos += [Repo("powertools", powertools_url, gpgpath, gpgurl)] if epel_url is not None: repos += [Repo("epel", epel_url, epel_gpgpath, epel_gpgurl, enabled=False)] @@ -190,11 +190,11 @@ class CentosInstaller(DistributionInstaller): crb_url = f"metalink=https://mirrors.centos.org/metalink?repo=centos-crb-{release}&arch=$basearch" epel_url = f"mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=epel-{epel_release}&arch=$basearch" - repos = [Repo("AppStream", appstream_url, gpgpath, gpgurl)] + repos = [Repo("appstream", appstream_url, gpgpath, gpgurl)] if baseos_url is not None: - repos += [Repo("BaseOS", baseos_url, gpgpath, gpgurl)] + repos += [Repo("baseos", baseos_url, gpgpath, gpgurl)] if crb_url is not None: - repos += [Repo("CRB", crb_url, gpgpath, gpgurl)] + repos += [Repo("crb", crb_url, gpgpath, gpgurl)] if epel_url is not None: repos += [Repo("epel", epel_url, epel_gpgpath, epel_gpgurl, enabled=False)]