add resilient storage as a variant

This commit is contained in:
nazunalika 2021-05-01 09:44:14 -07:00
parent 31cb1e61bf
commit dcad83336c
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -9,7 +9,7 @@
%define distro Rocky Linux %define distro Rocky Linux
%define major 8 %define major 8
%define minor 3 %define minor 3
%define rocky_rel 11 %define rocky_rel 12
%define upstream_rel %{major}.%{minor} %define upstream_rel %{major}.%{minor}
%define base_release_version %{major} %define base_release_version %{major}
@ -69,7 +69,7 @@ Source1203: Rocky-Extras.repo
# Rocky Add-ons # Rocky Add-ons
Source1210: Rocky-HighAvailability.repo Source1210: Rocky-HighAvailability.repo
#Source1211: Rocky-ResilientStorage.repo Source1211: Rocky-ResilientStorage.repo
# Rocky Special Stuff # Rocky Special Stuff
Source1220: Rocky-Media.repo Source1220: Rocky-Media.repo
@ -183,7 +183,7 @@ install -m 0644 %{SOURCE302} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
# dnf stuff # dnf stuff
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra
echo "pub/rocky/linux" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir echo "pub/rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
# Copy out GPG keys # Copy out GPG keys
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
@ -197,6 +197,7 @@ install -p -m 0644 %{SOURCE1201} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1202} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1202} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1203} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1203} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1210} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1210} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1211} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1220} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1220} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1222} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1222} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE1223} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE1223} %{buildroot}%{_sysconfdir}/yum.repos.d/
@ -228,6 +229,10 @@ install -p -m 0644 %{SOURCE1223} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_sysconfdir}/pki/rpm-gpg/ %{_sysconfdir}/pki/rpm-gpg/
%changelog %changelog
* Sat May 01 2021 Louis Abel <label@rockylinux.org> - 8.3-12
- Add resilient storage varient
- Fix vars
* Wed Apr 28 2021 Louis Abel <label@rockylinux.org> - 8.3-11 * Wed Apr 28 2021 Louis Abel <label@rockylinux.org> - 8.3-11
- Fix repo URL's where needed - Fix repo URL's where needed
- Change contentdir var - Change contentdir var