From a0a2eae1b3062ad7293220117d96178f33e2a69ac7717dbde4b0929285025e6d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 17 Apr 2018 09:09:20 +0000 Subject: [PATCH] Accepting request 595965 from devel:CaaSP:Head:ControllerNode OBS-URL: https://build.opensuse.org/request/show/595965 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcontainers-common?expand=0&rev=3 --- libcontainers-common.changes | 7 +++++++ libcontainers-common.spec | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/libcontainers-common.changes b/libcontainers-common.changes index 3a7e6ad..75b91eb 100644 --- a/libcontainers-common.changes +++ b/libcontainers-common.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 12 09:36:39 UTC 2018 - fcastelli@suse.com + +- Added /usr/share/containers/oci/hooks.d and /etc/containers/oci/hooks.d + to the package. These are used by tools like cri-o and podman to store + custom hooks. + ------------------------------------------------------------------- Mon Mar 5 09:30:12 UTC 2018 - vrothberg@suse.com diff --git a/libcontainers-common.spec b/libcontainers-common.spec index ee98b4e..7fa24db 100644 --- a/libcontainers-common.spec +++ b/libcontainers-common.spec @@ -38,10 +38,17 @@ tools, such as skopeo, cri-o and podman. %install install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers +install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/oci/hooks.d install -D -m 0644 %{SOURCE0} %{buildroot}/%{_sysconfdir}/containers/policy.json +install -d -m 0755 %{buildroot}/%{_prefix}/share/containers/oci/hooks.d %files %dir %{_sysconfdir}/containers +%dir %{_sysconfdir}/containers/oci +%dir %{_sysconfdir}/containers/oci/hooks.d +%dir %{_prefix}/share/containers +%dir %{_prefix}/share/containers/oci +%dir %{_prefix}/share/containers/oci/hooks.d %config(noreplace) %{_sysconfdir}/containers/policy.json %changelog