aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/dbus.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-03 15:07:06 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-03 15:07:06 +0800
commit308ec7a37ffbf0d8fb43dcd897c44df69daa5ca3 (patch)
tree34acd265e223c850952bcc094b77846c61fbaf76 /chapter08/dbus.xml
parent264a80d60fe1938d94718c6e3f353c5e4e27e1cb (diff)
dbus: Add --enable-user-session like BLFS
This will install dbus.service and dbus.socket into /usr/lib/systemd/user. In a base LFS installation the systemd per-user daemon is not usable at all, so they may seem useless. But if we install them, we can start to use them once systemd is rebuilt with PAM in BLFS (without rebuilding dbus).
Diffstat (limited to 'chapter08/dbus.xml')
-rw-r--r--chapter08/dbus.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml
index f59dd122b..62200fc27 100644
--- a/chapter08/dbus.xml
+++ b/chapter08/dbus.xml
@@ -52,6 +52,7 @@
--sysconfdir=/etc \
--localstatedir=/var \
--runstatedir=/run \
+ --enable-user-session \
--disable-static \
--disable-doxygen-docs \
--disable-xml-docs \
@@ -73,6 +74,18 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <parameter>--enable-user-session</parameter>
+ </term>
+ <listitem>
+ <para>These ensures the D-Bus per-user service and socket unit
+ files are installed for Systemd. They are not useful (but
+ harmless) in a base LFS installation, however they can be used
+ once systemd is rebuilt with PAM support in BLFS.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>