Switch from Systemd to Enit

This commit is contained in:
2025-03-10 20:26:59 +02:00
parent 6a75e015b1
commit 6367acd61c
4 changed files with 21 additions and 2 deletions
+7
View File
@@ -23,6 +23,8 @@ build() {
--disable-static \
--disable-doxygen-docs \
--disable-xml-docs \
--with-systemduserunitdir=no \
--with-systemdsystemunitdir=no \
--docdir=/usr/share/doc/dbus \
--with-system-socket=/run/dbus/system_bus_socket
make
@@ -38,5 +40,10 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
chown root:messagebus "$BPM_OUTPUT"/usr/libexec/dbus-daemon-launch-helper
chmod 4750 "$BPM_OUTPUT"/usr/libexec/dbus-daemon-launch-helper
ln -sfv /etc/machine-id "$BPM_OUTPUT"/var/lib/dbus
install -Dm644 "$BPM_WORKDIR"/dbus-reload.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/dbus-reload.bpmhook
install -Dm644 "$BPM_WORKDIR"/dbus.esv "$BPM_OUTPUT"/etc/esvm/services/dbus.esv
}