Pārlūkot izejas kodu

Have DBus use the same machine-id file as Systemd

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10187 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 12 gadi atpakaļ
vecāks
revīzija
ab6f6bb677
2 mainītis faili ar 10 papildinājumiem un 2 dzēšanām
  1. 4 0
      chapter01/changelog.xml
  2. 6 2
      chapter06/dbus.xml

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2013-03-03</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Have DBus use the same
+          <filename>machine-id</filename> file as Systemd.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Improve the tagging and placement of some post
           install instructions for DBus and Systemd. Thanks to Pierre Labastie

+ 6 - 2
chapter06/dbus.xml

@@ -78,8 +78,12 @@
 
     <para>Install the package:</para>
 
-<screen><userinput>make install
-dbus-uuidgen --ensure</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
+
+    <para>Create a symlink, so that DBus and Systemd can use the same
+    <filename>machine-id</filename> file:</para>
+
+<screen><userinput>ln -s /etc/machine-id /var/lib/dbus</userinput></screen>
 
   </sect2>