mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
tests: install /usr/bin/dbus-broker when using dbus-broker
We'd install the service file, and then dbus-broker-launcher because it is mentioned in ExecStart=, but not the main executable, so nothing would work. Let's just install dbus-broker executables if found. They are small, so this doesn't matter much, and is much easier than figuring the exact conditions under which dbus-broker will be used instead of dbus-daemon.
This commit is contained in:
parent
1e46047066
commit
98b0439f08
@ -672,6 +672,9 @@ install_dbus() {
|
||||
else
|
||||
inst $ROOTLIBDIR/system/dbus.service
|
||||
fi
|
||||
# Newer Fedora versions use dbus-broker by default. Let's install it is available.
|
||||
[ -f /usr/bin/dbus-broker ] && inst /usr/bin/dbus-broker
|
||||
[ -f /usr/bin/dbus-broker-launch ] && inst /usr/bin/dbus-broker-launch
|
||||
|
||||
find \
|
||||
/etc/dbus-1 /usr/share/dbus-1 -xtype f \
|
||||
|
Loading…
Reference in New Issue
Block a user