Accepting request 781913 from devel:kubic

OBS-URL: https://build.opensuse.org/request/show/781913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/podman?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2020-03-08 21:23:55 +00:00 committed by Git OBS Bridge
parent e1a15b2060
commit 397ee40307
4 changed files with 43 additions and 0 deletions

14
README.SUSE.SLES Normal file
View File

@ -0,0 +1,14 @@
Support Status of podman on SUSE Linux Enterprise
=================================================
Starting with SLE15-SP2, podman is a supported container engine for SUSE Linux
Enterprise Server. There are however a few selected features of podman that
are currently excluded from support. These are:
* The varlink remote API
* rootless containers
* support for cgroups v2
* any CNI plugin other than default bridge plugin
* The automatic generation of systemd units via "podman generate systemd"
* pod management via "podman pod ..." and "podman play"
* The "podman container diff" command

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Mar 5 16:26:16 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
- Added SLE specific README.SUSE about current support status
(jsc#SLE-9112, jsc#CAASP-60)
-------------------------------------------------------------------
Thu Mar 5 15:40:12 UTC 2020 - Richard Brown <rbrown@suse.com>
- Configure br_netfilter for podman automatically (boo#1165738)
-------------------------------------------------------------------
Thu Feb 20 15:57:54 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>

2
podman.conf Normal file
View File

@ -0,0 +1,2 @@
# Load br_netfilter module at boot
br_netfilter

View File

@ -29,8 +29,10 @@ License: Apache-2.0
Group: System/Management
Url: https://github.com/containers/libpod
Source0: %{name}-%{version}.tar.xz
Source1: podman.conf
Source2: libpod.conf
Source3: %{name}-rpmlintrc
Source4: README.SUSE.SLES
BuildRequires: bash-completion
BuildRequires: cni
BuildRequires: device-mapper-devel
@ -157,9 +159,21 @@ install -D -m 0644 contrib/varlink/podman.conf %{buildroot}/%{_tmpfilesdir}/podm
install -D -m 0644 contrib/varlink/io.podman.service %{buildroot}%{_unitdir}/io.podman.service
install -D -m 0644 contrib/varlink/io.podman.socket %{buildroot}%{_unitdir}/io.podman.socket
# Add podman modprobe.d drop-in config
mkdir -p %{buildroot}%{_libexecdir}/modules-load.d
install -m 0644 -t %{buildroot}%{_libexecdir}/modules-load.d/ %{SOURCE1}
# README.SUSE is SLES specifc currently
%if !0%{?is_opensuse}
install -D -m 0644 %{SOURCE4} %{buildroot}%{_docdir}/%{name}/README.SUSE
%endif
%fdupes %{buildroot}/%{_prefix}
%files
%if !0%{?is_opensuse}
%doc %{_docdir}/%{name}
%endif
# Binaries
%{_bindir}/podman
%{_bindir}/podman-remote
@ -170,6 +184,8 @@ install -D -m 0644 contrib/varlink/io.podman.socket %{buildroot}%{_unitdir}/io.p
%config(noreplace) %{_sysconfdir}/containers/libpod.conf
%dir %{_datadir}/containers
%{_datadir}/containers/libpod.conf
%dir %{_libexecdir}/modules-load.d
%{_libexecdir}/modules-load.d/podman.conf
# Completion
%{_datadir}/bash-completion/completions/podman
%{_sysconfdir}/zsh_completion.d/_podman