From 2e317d87e3713a007745cd381bbb4afe4ce70ec8 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Dec 17 2019 20:56:17 +0000 Subject: add the HA repo --- diff --git a/SOURCES/CentOS-HA.repo b/SOURCES/CentOS-HA.repo new file mode 100644 index 0000000..1c6e19d --- /dev/null +++ b/SOURCES/CentOS-HA.repo @@ -0,0 +1,20 @@ +# CentOS-HA.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[HighAvailability] +name=CentOS-$releasever - HA +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=HighAvailability&infra=$infra +#baseurl=http://mirror.centos.org/$contentdir/$releasever/HighAvailability/$basearch/os/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial + diff --git a/SPECS/centos-release.spec b/SPECS/centos-release.spec index f1e755a..4323e05 100644 --- a/SPECS/centos-release.spec +++ b/SPECS/centos-release.spec @@ -27,7 +27,7 @@ Name: centos-release Version: %{upstream_rel} -Release: %{centos_rel}.0.2%{?dist} +Release: %{centos_rel}.0.4%{?dist} Summary: %{product_family} release file Group: System Environment/Base License: GPLv2 @@ -75,6 +75,7 @@ Source307: CentOS-Vault.repo Source308: CentOS-AppStream.repo Source309: CentOS-PowerTools.repo Source310: CentOS-centosplus.repo +Source311: CentOS-HA.repo %ifarch %{arm} %description -n %{pkg_name} @@ -169,6 +170,7 @@ install -m 644 %{SOURCE307} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE308} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE309} %{buildroot}/etc/yum.repos.d install -m 644 %{SOURCE310} %{buildroot}/etc/yum.repos.d +install -m 644 %{SOURCE311} %{buildroot}/etc/yum.repos.d mkdir -p -m 755 %{buildroot}/etc/dnf/vars echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra @@ -246,6 +248,9 @@ rm -rf %{buildroot} /etc/pki/rpm-gpg/ %changelog +* Tue Dec 17 2019 bstinson@centosproject.org - 8-1.el8 +- Add the HighAvailability repository + * Wed Aug 14 2019 Neal Gompa 8-1.el8 - Split repositories and GPG keys out into subpackages