Skip to content

Commit

Permalink
Use metalinks for c10s {baseos,appstream,crb}-{source,debuginfo}
Browse files Browse the repository at this point in the history
This is a followup for 9e59629
  • Loading branch information
hroncok committed Jun 17, 2024
1 parent 34aeedb commit d12cd76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions mock-core-configs/etc/mock/templates/centos-stream-10.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,48 +76,48 @@ skip_if_unavailable=False

[baseos-debuginfo]
name=CentOS Stream $releasever - BaseOS - Debug
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/BaseOS/$basearch/debug/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-debug-$stream&arch=$basearch&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/BaseOS/$basearch/debug/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-debug-$releasever-stream&arch=$basearch&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256
gpgcheck=1
enabled=0

[baseos-source]
name=CentOS Stream $releasever - BaseOS - Source
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/BaseOS/source/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-source-$stream&arch=source&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/BaseOS/source/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-source-$releasever-stream&arch=source&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256
gpgcheck=1
enabled=0

[appstream-debuginfo]
name=CentOS Stream $releasever - AppStream - Debug
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/AppStream/$basearch/debug/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-debug-$stream&arch=$basearch&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/AppStream/$basearch/debug/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-debug-$releasever-stream&arch=$basearch&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256-SHA256
gpgcheck=1
enabled=0

[appstream-source]
name=CentOS Stream $releasever - AppStream - Source
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/AppStream/source/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-source-$stream&arch=source&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/AppStream/source/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-source-$releasever-stream&arch=source&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256
gpgcheck=1
enabled=0

[crb-debuginfo]
name=CentOS Stream $releasever - CRB - Debug
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/CRB/$basearch/debug/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-crb-debug-$stream&arch=$basearch&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/CRB/$basearch/debug/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-crb-debug-$releasever-stream&arch=$basearch&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256
gpgcheck=1
enabled=0

[crb-source]
name=CentOS Stream $releasever - CRB - Source
baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/CRB/source/tree/
#metalink=https://mirrors.centos.org/metalink?repo=centos-crb-source-$stream&arch=source&protocol=https,http
#baseurl=https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/CRB/source/tree/
metalink=https://mirrors.centos.org/metalink?repo=centos-crb-source-$releasever-stream&arch=source&protocol=https,http
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256
gpgcheck=1
enabled=0
Expand Down
2 changes: 2 additions & 0 deletions releng/release-notes-next/c10s-metalink.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Mock chroots for CentOS Stream 10 now use the mirrored repositories also for
baseos-source, baseos-debuginfo, appstream-source, appstream-debuginfo, crb-source, and crb-debuginfo.

0 comments on commit d12cd76

Please sign in to comment.