ch08/dbus: sync with BLFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12129 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Xi Ruoyao 2021-02-05 07:22:20 +00:00
parent a815ec734c
commit 6e8c493d26

View File

@ -55,7 +55,9 @@
--disable-doxygen-docs \
--disable-xml-docs \
--docdir=/usr/share/doc/dbus-&dbus-version; \
--with-console-auth-dir=/run/console</userinput></screen>
--with-console-auth-dir=/run/console \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@ -68,6 +70,18 @@
</listitem>
</varlistentry>
<varlistentry>
<term>
<parameter>--with-system-pid-file=/run/dbus/pid</parameter> and
<parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
</term>
<listitem>
<para>These set the location of the PID file and the system bus socket
to be in <filename class="directory">/run</filename>, instead of
deprecated <filename class="directory">/var/run</filename>.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>
@ -96,11 +110,6 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</useri
<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
<para>Move the socket file to /run instead of the deprecated
/var/run:</para>
<screen><userinput remap="install">sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket</userinput></screen>
</sect2>
<sect2 id="contents-dbus" role="content">