allow repo options to get around modularity rss issues

This commit is contained in:
Louis Abel 2023-09-05 02:59:16 -07:00
parent 87da816b47
commit 8aedac40dc
Signed by: label
GPG key ID: 3331F061D1D9990E
2 changed files with 36 additions and 23 deletions

View file

@ -2,10 +2,15 @@
{% for repo in repo_tracking %} {% for repo in repo_tracking %}
{% for arch in repo.arch %} {% for arch in repo.arch %}
{% for repository in repo.repositories %} {% for repository in repo.repositories %}
[rl{{ repo.release }}-{{ arch }}-{{ repository }}] [rl{{ repo.release }}-{{ arch }}-{{ repository.name }}]
name=Rocky Linux {{ repo.release }} {{ arch }} {{ repository }} name=Rocky Linux {{ repo.release }} {{ arch }} {{ repository.name }}
baseurl=https://dl.rockylinux.org/{{ repo.contentdir }}/{{ repo.release }}/{{ repository }}/{{ arch }}/os baseurl=https://dl.rockylinux.org/{{ repo.contentdir }}/{{ repo.release }}/{{ repository.name }}/{{ arch }}/os
enabled=0 enabled=0
{% if 'repo_options' in repository %}
{% for opt in repository.repo_options %}
{{ opt }}
{% endfor %}
{% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}

View file

@ -8,15 +8,19 @@ repo_tracking:
- x86_64 - x86_64
- aarch64 - aarch64
repositories: repositories:
- BaseOS - name: BaseOS
- AppStream - name: AppStream
- PowerTools repo_options:
- HighAvailability - module_hotfixes=1
- ResilientStorage - name: PowerTools
- RT repo_options:
- NFV - module_hotfixes=1
- extras - name: HighAvailability
- plus - name: ResilientStorage
- name: RT
- name: NFV
- name: extras
- name: plus
- release: 9 - release: 9
contentdir: "pub/rocky" contentdir: "pub/rocky"
arch: arch:
@ -25,15 +29,19 @@ repo_tracking:
- ppc64le - ppc64le
- s390x - s390x
repositories: repositories:
- BaseOS - name: BaseOS
- AppStream - name: AppStream
- CRB repo_options:
- HighAvailability - module_hotfixes=1
- ResilientStorage - name: CRB
- RT repo_options:
- NFV - module_hotfixes=1
- SAP - name: HighAvailability
- SAPHANA - name: ResilientStorage
- extras - name: RT
- plus - name: NFV
- name: SAP
- name: SAPHANA
- name: extras
- name: plus
... ...