diff --git a/README.SUSE.SLES b/README.SUSE.SLES new file mode 100644 index 0000000..5932f9a --- /dev/null +++ b/README.SUSE.SLES @@ -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 diff --git a/podman.changes b/podman.changes index 772a491..cf617f6 100644 --- a/podman.changes +++ b/podman.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Mar 5 16:26:16 UTC 2020 - Ralf Haferkamp + +- 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 + +- Configure br_netfilter for podman automatically (boo#1165738) + ------------------------------------------------------------------- Thu Feb 20 15:57:54 UTC 2020 - Ralf Haferkamp diff --git a/podman.conf b/podman.conf new file mode 100644 index 0000000..5efd4d7 --- /dev/null +++ b/podman.conf @@ -0,0 +1,2 @@ +# Load br_netfilter module at boot +br_netfilter diff --git a/podman.spec b/podman.spec index ba3750e..1f40ee3 100644 --- a/podman.spec +++ b/podman.spec @@ -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