Browse Source

Don't enable module stream in rhel9

On Rhel-9, modules streams are no longer shipped. Updating condition
with this patch to only try to enable module stream for rhel-8 case.

Closes-Bug: #1956449
Change-Id: I4b9bc141925f9ef9ec790b4c790df2aaf4fedd2d
changes/20/823820/1
Sandeep Yadav 5 months ago
parent
commit
6688b56221
  1. 2
      container-images/tcib/base/base.yaml

2
container-images/tcib/base/base.yaml

@ -15,7 +15,7 @@ tcib_actions:
crudini --set /etc/dnf/dnf.conf main skip_missing_names_on_install False &&
crudini --set /etc/dnf/dnf.conf main tsflags nodocs
- run: >-
if [ '{{ tcib_distro }}' == 'rhel' ]; then
if [ '{{ tcib_distro }}' == 'rhel' && '{{ tcib_release }}' == '8' ]; then
{%- if "el" ~ tcib_release in tcib_packages.modules %}
{% for item in tcib_packages.modules["el" ~ tcib_release] %}{% set key, value = (item.items() | list).0 %}dnf module -y {{ key }} {{ value }}; {% endfor %}
{%- else %}

Loading…
Cancel
Save