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 arch in repo.arch %}
{% for repository in repo.repositories %}
[rl{{ repo.release }}-{{ arch }}-{{ repository }}]
name=Rocky Linux {{ repo.release }} {{ arch }} {{ repository }}
baseurl=https://dl.rockylinux.org/{{ repo.contentdir }}/{{ repo.release }}/{{ repository }}/{{ arch }}/os
[rl{{ repo.release }}-{{ arch }}-{{ repository.name }}]
name=Rocky Linux {{ repo.release }} {{ arch }} {{ repository.name }}
baseurl=https://dl.rockylinux.org/{{ repo.contentdir }}/{{ repo.release }}/{{ repository.name }}/{{ arch }}/os
enabled=0
{% if 'repo_options' in repository %}
{% for opt in repository.repo_options %}
{{ opt }}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}

View file

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