From: Matthias Dahl Date: Sun, 24 Nov 2019 08:07:28 +0000 (+0100) Subject: app-emulation/libpod: Add missing seccomp.json and crun runtime dep X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=69fa809444d7ca0ecc63519e76790d2a321c9936;p=gentoo.git app-emulation/libpod: Add missing seccomp.json and crun runtime dep seccomp.json needs to be installed in /usr/share/containers and will be used by libpod as well as buildah. Without it, some containers will not work due to seccomp usage that is otherwise blocked. Fedora has switched to crun as the default container runtime. At the moment it is the only runtime that supports CGroup v2 which in-turn greatly helps with rootless mode. Support crun as an alternative to the runc dependency. Closes: https://bugs.gentoo.org/692118 Closes: https://github.com/gentoo/gentoo/pull/13743 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Matthias Dahl Signed-off-by: Zac Medico --- diff --git a/app-emulation/libpod/libpod-1.6.3.ebuild b/app-emulation/libpod/libpod-1.6.3-r1.ebuild similarity index 97% rename from app-emulation/libpod/libpod-1.6.3.ebuild rename to app-emulation/libpod/libpod-1.6.3-r1.ebuild index 029c6c1413fc..fbbde543c71c 100644 --- a/app-emulation/libpod/libpod-1.6.3.ebuild +++ b/app-emulation/libpod/libpod-1.6.3-r1.ebuild @@ -21,7 +21,7 @@ RESTRICT="test" COMMON_DEPEND=" app-crypt/gpgme:= >=app-emulation/conmon-2.0.0 - >=app-emulation/runc-1.0.0_rc6 + || ( >=app-emulation/runc-1.0.0_rc6 app-emulation/crun ) dev-libs/libassuan:= dev-libs/libgpg-error:= sys-fs/lvm2 @@ -93,6 +93,9 @@ src_install() { newins test/registries.conf registries.conf.example newins test/policy.json policy.json.example + insinto /usr/share/containers + doins seccomp.json + newinitd "${FILESDIR}"/podman.initd podman insinto /etc/logrotate.d