Accepting request 1132878 from home:favogt:branches:devel:microos
- Refactor network backend dependencies: * podman requires either netavark or cni-plugins. On ALP, require netavark, otherwise prefer netavark but don't force it. * This fixes missing cni-plugins in some scenarios * Default to netavark everywhere where it's available OBS-URL: https://build.opensuse.org/request/show/1132878 OBS-URL: https://build.opensuse.org/package/show/devel:microos/podman?expand=0&rev=43
This commit is contained in:
parent
52f35dc79a
commit
28990be434
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 13 12:51:44 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Refactor network backend dependencies:
|
||||||
|
* podman requires either netavark or cni-plugins. On ALP, require
|
||||||
|
netavark, otherwise prefer netavark but don't force it.
|
||||||
|
* This fixes missing cni-plugins in some scenarios
|
||||||
|
* Default to netavark everywhere where it's available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 11 16:13:48 UTC 2023 - kastl@b1-systems.de
|
Mon Dec 11 16:13:48 UTC 2023 - kastl@b1-systems.de
|
||||||
|
|
||||||
|
16
podman.spec
16
podman.spec
@ -52,20 +52,14 @@ Recommends: apparmor-parser
|
|||||||
# requirement for `podman machine`
|
# requirement for `podman machine`
|
||||||
Recommends: gvisor-tap-vsock
|
Recommends: gvisor-tap-vsock
|
||||||
Requires: catatonit >= 0.1.7
|
Requires: catatonit >= 0.1.7
|
||||||
# provide both cni and netavark on TW
|
# Needs a network backend
|
||||||
# but "prefer" netavark especially for
|
Requires: (netavark or cni-plugins)
|
||||||
# fresh installations (bsc#1217828)
|
# Force netavark on ALP
|
||||||
%if 0%{?suse_version} > 1600
|
|
||||||
Requires: (netavark or cni)
|
|
||||||
Suggests: netavark
|
|
||||||
%else
|
|
||||||
# default to Netavark on ALP
|
|
||||||
%if 0%{suse_version} >= 1600 && !0%{?is_opensuse}
|
%if 0%{suse_version} >= 1600 && !0%{?is_opensuse}
|
||||||
Requires: netavark
|
Requires: netavark
|
||||||
%else
|
%else
|
||||||
Requires: cni
|
# Prefer netavark for fresh installations (bsc#1217828)
|
||||||
Requires: cni-plugins
|
Suggests: netavark
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
Requires: conmon >= 2.0.24
|
Requires: conmon >= 2.0.24
|
||||||
Requires: fuse-overlayfs
|
Requires: fuse-overlayfs
|
||||||
|
Loading…
Reference in New Issue
Block a user