From: kremlin Date: Tue, 22 Jul 2014 02:00:27 +0000 (-0500) Subject: add DBus service files, change Makefile to install them X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=commitdiff_plain;h=6ddd43bef3b805832e0bc8d99463c93a541ff4ab;p=systembsd.git add DBus service files, change Makefile to install them --- diff --git a/Makefile b/Makefile index 011a12c..048bcf2 100644 --- a/Makefile +++ b/Makefile @@ -49,12 +49,10 @@ _build_genfile_objs_debug: gcc -o bin/obj/logind-gen.o $(DEBUGF) $(GLIBOF) $(SANITY) -c $(INTFDIR)/logind/logind-gen.c _install_conf: - cp conf/*-dbus.conf /etc/dbus-1/system.d/ - cp conf/systemd_compat.conf /etc/ + cp conf/*-dbus.conf /etc/dbus-1/system.d/ + cp conf/systemd_compat.conf /etc/ + cp conf/org.freedesktop.*.service /usr/local/share/dbus-1/system-services/ _install_interface_binaries: $(LINKHN) - cp bin/systemd-hostnamed /usr/local/libexec/ - cp bin/systemd-localed /usr/local/libexec/ - cp bin/systemd-timedated /usr/local/libexec/ - cp bin/systemd-logind /usr/local/libexec/ - + mkdir /usr/local/bin/systemd-compat + cp bin/systemd-* /usr/local/bin/systemd-compat/ diff --git a/conf/org.freedesktop.hostname1.service b/conf/org.freedesktop.hostname1.service new file mode 100644 index 0000000..c02d3c4 --- /dev/null +++ b/conf/org.freedesktop.hostname1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.hostname1 +Exec=/usr/local/bin/systemd-compat/systemd-hostnamed diff --git a/conf/org.freedesktop.locale1.service b/conf/org.freedesktop.locale1.service new file mode 100644 index 0000000..22cd8c1 --- /dev/null +++ b/conf/org.freedesktop.locale1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.locale1 +Exec=/usr/local/bin/systemd-compat/systemd-localed diff --git a/conf/org.freedesktop.login1 b/conf/org.freedesktop.login1 new file mode 100644 index 0000000..ec47461 --- /dev/null +++ b/conf/org.freedesktop.login1 @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.login1 +Exec=/usr/local/bin/systemd-compat/systemd-logind diff --git a/conf/org.freedesktop.timedate1.service b/conf/org.freedesktop.timedate1.service new file mode 100644 index 0000000..f757f4a --- /dev/null +++ b/conf/org.freedesktop.timedate1.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Names=org.freedesktop.timedate1 +Exec=/usr/local/bin/systemd-compat/systemd-timedated