Changeset 6e8c493 for chapter08/dbus.xml


Ignore:
Timestamp:
02/05/2021 07:22:20 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
0cbc052a
Parents:
a815ec7
Message:

ch08/dbus: sync with BLFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12129 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/dbus.xml

    ra815ec7 r6e8c493  
    4949    <para>Prepare D-Bus for compilation:</para>
    5050
    51 <screen><userinput remap="configure">./configure --prefix=/usr                       \
    52             --sysconfdir=/etc                   \
    53             --localstatedir=/var                \
    54             --disable-static                    \
    55             --disable-doxygen-docs              \
    56             --disable-xml-docs                  \
     51<screen><userinput remap="configure">./configure --prefix=/usr                        \
     52            --sysconfdir=/etc                    \
     53            --localstatedir=/var                 \
     54            --disable-static                     \
     55            --disable-doxygen-docs               \
     56            --disable-xml-docs                   \
    5757            --docdir=/usr/share/doc/dbus-&dbus-version; \
    58             --with-console-auth-dir=/run/console</userinput></screen>
     58            --with-console-auth-dir=/run/console \
     59            --with-system-pid-file=/run/dbus/pid \
     60            --with-system-socket=/run/dbus/system_bus_socket</userinput></screen>
    5961
    6062    <variablelist>
     
    6668          <para>This specifies the location of the ConsoleKit authorization
    6769          directory.</para>
     70        </listitem>
     71      </varlistentry>
     72
     73      <varlistentry>
     74        <term>
     75          <parameter>--with-system-pid-file=/run/dbus/pid</parameter> and
     76          <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>
     77        </term>
     78        <listitem>
     79          <para>These set the location of the PID file and the system bus socket
     80          to be in <filename class="directory">/run</filename>, instead of
     81          deprecated <filename class="directory">/var/run</filename>.</para>
    6882        </listitem>
    6983      </varlistentry>
     
    96110
    97111<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
    98 
    99     <para>Move the socket file to /run instead of the deprecated
    100     /var/run:</para>
    101 
    102  <screen><userinput remap="install">sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket</userinput></screen>
    103112
    104113  </sect2>
Note: See TracChangeset for help on using the changeset viewer.