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).
This commit is contained in:
Xi Ruoyao 2023-08-03 15:07:06 +08:00
parent 264a80d60f
commit 308ec7a37f
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -52,6 +52,7 @@
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--runstatedir=/run \ --runstatedir=/run \
--enable-user-session \
--disable-static \ --disable-static \
--disable-doxygen-docs \ --disable-doxygen-docs \
--disable-xml-docs \ --disable-xml-docs \
@ -73,6 +74,18 @@
</listitem> </listitem>
</varlistentry> </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> </variablelist>
<para>Compile the package:</para> <para>Compile the package:</para>