diff --git a/.github/workflows/gen_centos9.yml b/.github/workflows/gen_centos9.yml index f040e0b66..4279a6212 100644 --- a/.github/workflows/gen_centos9.yml +++ b/.github/workflows/gen_centos9.yml @@ -23,6 +23,9 @@ jobs: - name: "Install config manager" shell: bash run: "dnf install -y 'dnf-command(config-manager)'" + - name: "Enable CRB repo for X bits" + shell: bash + run: "dnf config-manager --set-enabled crb" - name: "Install git" shell: bash run: "yum install -y git" diff --git a/.github/workflows/gen_centos9_continuous.yml b/.github/workflows/gen_centos9_continuous.yml index 350f13d6c..29e7fe0a5 100644 --- a/.github/workflows/gen_centos9_continuous.yml +++ b/.github/workflows/gen_centos9_continuous.yml @@ -27,6 +27,11 @@ jobs: run: | export BUILD_REASON=Schedule dnf install -y 'dnf-command(config-manager)' + - name: "Enable CRB repo for X bits" + shell: bash + run: | + export BUILD_REASON=Schedule + dnf config-manager --set-enabled crb - name: "Install git" shell: bash run: | diff --git a/.github/workflows/gen_centos9_tag.yml b/.github/workflows/gen_centos9_tag.yml index 260b7b055..db3019838 100644 --- a/.github/workflows/gen_centos9_tag.yml +++ b/.github/workflows/gen_centos9_tag.yml @@ -13,6 +13,9 @@ jobs: - name: "Install config manager" shell: bash run: "dnf install -y 'dnf-command(config-manager)'" + - name: "Enable CRB repo for X bits" + shell: bash + run: "dnf config-manager --set-enabled crb" - name: "Install git" shell: bash run: "yum install -y git" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index a0d07ff73..027817037 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -546,6 +546,14 @@ cargo build --all --release""", "dnf config-manager --set-enabled powertools", ), ] + if "centos:stream9" in self.container: + steps += [ + # This holds the xcb bits + RunStep( + "Enable CRB repo for X bits", + "dnf config-manager --set-enabled crb", + ), + ] steps += self.install_newer_compiler() steps += self.install_git() steps += self.install_curl()