Remove /etc/yum.repos.d/ubi.repo
in ubi9 beta image, /etc/yum.repos.d/ubi.repo is empty so
disabled it via dnf fails and it breaks the container
build.
Removing this file completely fixes the issue.
Closes-Bug: #1956319
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I0cf3313e7bfb30f0e9cae1f4b8ce265a1e8996d2
(cherry picked from commit 534f7f7584
)
This commit is contained in:
parent
246e19db14
commit
a5471f8c94
|
@ -1,5 +1,5 @@
|
||||||
tcib_actions:
|
tcib_actions:
|
||||||
- run: if [ -f "/etc/yum.repos.d/ubi.repo" ]; then dnf config-manager --set-disabled "ubi*" && dnf clean all && rm -rf /var/cache/dnf; fi
|
- run: if [ -f "/etc/yum.repos.d/ubi.repo" ]; then rm -f /etc/yum.repos.d/ubi.repo && dnf clean all && rm -rf /var/cache/dnf; fi
|
||||||
- run: >-
|
- run: >-
|
||||||
dnf install -y crudini &&
|
dnf install -y crudini &&
|
||||||
crudini --del /etc/dnf/dnf.conf main override_install_langs &&
|
crudini --del /etc/dnf/dnf.conf main override_install_langs &&
|
||||||
|
|
Loading…
Reference in New Issue