mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
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:
parent
a815ec734c
commit
6e8c493d26
@ -48,14 +48,16 @@
|
||||
|
||||
<para>Prepare D-Bus for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-doxygen-docs \
|
||||
--disable-xml-docs \
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--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">
|
||||
|
Loading…
Reference in New Issue
Block a user