Skip to content

Commit

Permalink
Move DBus configuration from /etc to /usr/share
Browse files Browse the repository at this point in the history
Move DBus configuration files from `/etc/dbus-1/system.d/` to
`/usr/share/dbus-1/system.d`

Signed-off-by: Martin Perina <mperina@redhat.com>
  • Loading branch information
mwperina committed Mar 22, 2023
1 parent 066483b commit 78739d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install_data(
)

# Installing the DBus permission configuration files
dbus_service_dir = join_paths(get_option('sysconfdir'), 'dbus-1', 'system.d')
dbus_service_dir = join_paths(get_option('datadir'), 'dbus-1', 'system.d')
dbus_srv_user = get_option('dbus-srv-user')
if dbus_srv_user == ''
dbus_srv_user = 'root'
Expand Down
4 changes: 2 additions & 2 deletions hirte.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ This package contains the controller and command line tool.
%{_datadir}/dbus-1/interfaces/org.containers.hirte.Manager.xml
%{_datadir}/dbus-1/interfaces/org.containers.hirte.Monitor.xml
%{_datadir}/dbus-1/interfaces/org.containers.hirte.Node.xml
%{_datadir}/dbus-1/system.d/org.containers.hirte.conf
%{_datadir}/hirte/config/hirte-default.conf
%{_mandir}/man1/hirte.*
%{_mandir}/man5/hirte.conf.*
%{_sysconfdir}/dbus-1/system.d/org.containers.hirte.conf
%{_unitdir}/hirte.service
%{_unitdir}/hirte.socket

Expand Down Expand Up @@ -71,10 +71,10 @@ This package contains the node agent.
%doc README.md
%license LICENSE
%{_bindir}/hirte-agent
%{_datadir}/dbus-1/system.d/org.containers.hirte.Agent.conf
%{_datadir}/hirte-agent/config/hirte-default.conf
%{_mandir}/man1/hirte-agent.*
%{_mandir}/man5/hirte-agent.conf.*
%{_sysconfdir}/dbus-1/system.d/org.containers.hirte.Agent.conf
%{_unitdir}/hirte-agent.service
%{_userunitdir}/hirte-agent.service

Expand Down

0 comments on commit 78739d5

Please sign in to comment.