From ee6bf5aa0608723528caaf9e6fd2edd67258dcc8 Mon Sep 17 00:00:00 2001 From: Petr Stodulka Date: Thu, 14 Nov 2024 16:28:57 +0100 Subject: [PATCH 6/6] spec: Introduce /etc/leapp/actor_conf.d/ directory The directory should be owned by the leapp rpm so leapp actors could already use it - or existing leapp repositories packages could install some config files inside already. --- packaging/leapp.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/leapp.spec b/packaging/leapp.spec index 7efe596..8bb4102 100644 --- a/packaging/leapp.spec +++ b/packaging/leapp.spec @@ -184,6 +184,7 @@ install -m 0755 -d %{buildroot}%{_datadir}/leapp/report_schema install -m 0644 -p report-schema-v110.json %{buildroot}%{_datadir}/leapp/report_schema/report-schema.json install -m 0700 -d %{buildroot}%{_sharedstatedir}/leapp install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp +install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/actor_conf.d/ install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/repos.d install -m 0600 -d %{buildroot}%{_sysconfdir}/leapp/answers # standard directory should have permission set to 0755, however this directory @@ -209,6 +210,7 @@ install -m 0644 -p man/leapp.1 %{buildroot}%{_mandir}/man1/ %config(noreplace) %{_sysconfdir}/leapp/leapp.conf %config(noreplace) %{_sysconfdir}/leapp/logger.conf %dir %{_sysconfdir}/leapp +%dir %{_sysconfdir}/leapp/actor_conf.d %dir %{_sysconfdir}/leapp/answers %dir %{_sysconfdir}/leapp/repos.d %{_bindir}/leapp -- 2.47.0