Accepting request 1101468 from home:danishprakash:branches:devel:microos

Disable CNI related configs on ALP (bsc#1213556)

OBS-URL: https://build.opensuse.org/request/show/1101468
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libcontainers-common?expand=0&rev=25
This commit is contained in:
Dan Čermák 2023-07-31 08:31:32 +00:00 committed by Git OBS Bridge
parent 62b0811679
commit 5c0022ea64
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 31 06:17:22 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
- Disable CNI related configs on ALP (bsc#1213556)
(https://github.com/containers/podman/issues/19327)
-------------------------------------------------------------------
Tue Jun 27 14:18:18 UTC 2023 - Danish Prakash <danish.prakash@suse.com>

View File

@ -132,6 +132,12 @@ cat >>%{SOURCE5} <<EOL
%{_sysconfdir}/zypp/credentials.d/SCCcredentials:%{_sysconfdir}/zypp/credentials.d/SCCcredentials
EOL
# Disable CNI related configs on ALP (bsc#1213556)
# https://github.com/containers/podman/issues/19327
%if 0%{suse_version} >= 1600 && !0%{?is_opensuse}
sed -i 's/cni_plugin_dirs = .*/\# cni_plugin_dirs = []/g' %{SOURCE9}
%endif
cd common-%{commonver}
%make_build docs
cd ..