Switch from Systemd to Enit
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user