Skip to content

Commit

Permalink
c9s: pin selinux-policy-38.1.36-1.el9
Browse files Browse the repository at this point in the history
The latest selinux-policy breaks ISO tests:
openshift#1514

Pin to the previous working version for now.

To do this, introduce a new `overrides-c9s.yaml` manifest that we can
use going forward when we need to pin to older versions.

(cherry picked from commit 455ea2a)
  • Loading branch information
jlebon authored and mike-nguyen committed May 28, 2024
1 parent 3d9acd1 commit ea765d6
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
35 changes: 35 additions & 0 deletions c9s-mirror.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# These are the official c9s repos. They are slower to update, but contain older
# versions of packages, which is useful when pinning for lack of a "coreos-pool"
# equivalent. They are unused when no pinning is needed.

[c9s-baseos-mirror]
name=CentOS Stream 9 - BaseOS
baseurl=http://mirror.stream.centos.org/9-stream/BaseOS/$basearch/os
gpgcheck=1
repo_gpgcheck=0
enabled=1
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official

[c9s-appstream-mirror]
name=CentOS Stream 9 - AppStream
baseurl=http://mirror.stream.centos.org/9-stream/AppStream/$basearch/os
gpgcheck=1
repo_gpgcheck=0
enabled=1
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official

[c9s-nfv-mirror]
name=CentOS Stream 9 - NFV
baseurl=http://mirror.stream.centos.org/9-stream/NFV/$basearch/os
gpgcheck=1
repo_gpgcheck=0
enabled=1
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official

[c9s-rt-mirror]
name=CentOS Stream 9 - RT
baseurl=http://mirror.stream.centos.org/9-stream/RT/$basearch/os
gpgcheck=1
repo_gpgcheck=0
enabled=1
gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
1 change: 1 addition & 0 deletions manifest-c9s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ variables:
include:
- common.yaml
- packages-openshift.yaml
- overrides-c9s.yaml

# Starting from here, everything should be specific to SCOS

Expand Down
12 changes: 12 additions & 0 deletions overrides-c9s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This is a poor man's version of an override lockfile for c9s. When needed, we
# can enable the mirror repos here (which hold older RPMs) and list the NEVRs
# we need in the `packages` section. When not needed. Empty or comment out this
# file (except this comment).

repos:
- c9s-baseos-mirror
- c9s-appstream-mirror

packages:
# https://github.com/openshift/os/issues/1514
- selinux-policy-38.1.36-1.el9

0 comments on commit ea765d6

Please sign in to comment.