diff --git a/containers-common.spec b/containers-common.spec index 377c61a..32842eb 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -127,7 +127,11 @@ cp man5/containerignore.5 man5/.containerignore.5 install -dp %{buildroot}%{_sysconfdir}/containers/{certs.d,oci/hooks.d,systemd} install -dp %{buildroot}%{_sharedstatedir}/containers/sigstore install -dp %{buildroot}%{_datadir}/containers/systemd -install -dp %{buildroot}%{_prefix}/lib/containers/storage +install -dp -m 700 %{buildroot}%{_prefix}/lib/containers/storage/overlay-images +touch %{buildroot}%{_prefix}/lib/containers/storage/overlay-images/images.lock +install -dp -m 700 %{buildroot}%{_prefix}/lib/containers/storage/overlay-layers +touch %{buildroot}%{_prefix}/lib/containers/storage/overlay-layers/layers.lock + install -Dp -m0644 default.yaml -t %{buildroot}%{_sysconfdir}/containers/registries.d install -Dp -m0644 storage.conf -t %{buildroot}%{_datadir}/containers install -Dp -m0644 registries.conf -t %{buildroot}%{_sysconfdir}/containers @@ -168,6 +172,11 @@ ln -s ../../../..%{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/ %dir %{_sysconfdir}/containers/registries.d %dir %{_sysconfdir}/containers/systemd %dir %{_prefix}/lib/containers/storage +%dir %{_prefix}/lib/containers/storage/overlay-images +%dir %{_prefix}/lib/containers/storage/overlay-layers +%{_prefix}/lib/containers/storage/overlay-images/images.lock +%{_prefix}/lib/containers/storage/overlay-layers/layers.lock + %config(noreplace) %{_sysconfdir}/containers/policy.json %config(noreplace) %{_sysconfdir}/containers/registries.conf %config(noreplace) %{_sysconfdir}/containers/registries.conf.d/000-shortnames.conf