#1 Switch 8-stream to mirrorlist instead of baseurl
Merged 5 years ago by bstinson. Opened 5 years ago by arrfab.
rpms/ arrfab/centos-release-stream mirrorlist-switch  into  c8

@@ -12,8 +12,8 @@ 

  

  [Stream-AppStream]

  name=CentOS-Stream - AppStream

- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra

- baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/

  gpgcheck=1

  enabled=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -12,8 +12,8 @@ 

  

  [Stream-BaseOS]

  name=CentOS-Stream - Base

- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra

- baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=BaseOS&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/

  gpgcheck=1

  enabled=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -13,8 +13,8 @@ 

  #additional packages that may be useful

  [Stream-extras]

  name=CentOS-Stream - Extras

- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra

- baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/os/

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/os/

  gpgcheck=1

  enabled=1

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -12,8 +12,8 @@ 

  

  [Stream-PowerTools]

  name=CentOS-Stream - PowerTools

- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra

- baseurl=http://mirror.centos.org/$contentdir/$stream/PowerTools/$basearch/os/

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=PowerTools&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/PowerTools/$basearch/os/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

file modified
+4 -1
@@ -14,7 +14,7 @@ 

  

  Name:           centos-release-stream

  Version:        %{upstream_rel}

- Release:        %{centos_rel}.0.9%{?dist}

+ Release:        %{centos_rel}.0.10%{?dist}

  Summary:        %{product_family} release file

  Group:          System Environment/Base

  License:        GPLv2
@@ -78,5 +78,8 @@ 

  %config(noreplace) /etc/dnf/vars/*

  

  %changelog

+ * Mon Oct 14 2019 Fabian Arrotin <arrfab@centos.org> 8.0-0.1905.0.9.el8

+ - Switched to mirrorlist instead of baseurl for 8-stream

+ 

  * Thu Sep 20 2019 Brian Stinson <bstinson@centosproject.org> 8-0.el8

  - First build of centos-release-stream

The needed change for 8-stream support was added in mirmon code and also in ansible role.
The changes were pushed live today so the following queries work for 8-stream :

curl -H 'Host:mirrorlist.centos.org' 'http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=BaseOS'
curl -H 'Host:mirrorlist.centos.org' 'http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream'
curl -H 'Host:mirrorlist.centos.org' 'http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=PowerTools'
curl -H 'Host:mirrorlist.centos.org' 'http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=extras'

rebased onto 37b97d1

5 years ago

rebased onto 37b97d1

5 years ago

rebased onto 37b97d1

5 years ago

Pull-Request has been merged by bstinson

5 years ago