Changeset 720f253


Ignore:
Timestamp:
02/18/2014 04:07:01 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
e2c4848
Parents:
58c8823
Message:

Some more fixes.

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

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter06/acl.xml

    r58c8823 r720f253  
    5454    <para>Prepare Acl for compilation:</para>
    5555
    56 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     56<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
    5757
    5858    <para>Compile the package:</para>
  • chapter06/dbus.xml

    r58c8823 r720f253  
    188188      </varlistentry>
    189189
    190       <varlistentry id="libdbus">
    191         <term><filename class="libraryfile">libdbus-1</filename></term>
    192         <listitem>
    193           <para>Contains API functions used to communicate with the D-Bus
    194           message bus.</para>
    195           <indexterm zone="ch-system-dbus libdbus">
    196             <primary sortas="c-libdbus">libdbus</primary>
    197           </indexterm>
    198         </listitem>
    199       </varlistentry>
    200 
    201190    </variablelist>
    202191
  • chapter06/libdbus.xml

    r58c8823 r720f253  
    5151    <para>Prepare Libdbus for compilation:</para>
    5252
    53 <screen><userinput remap="configure">./configure --prefix=/usr \
     53<screen><userinput remap="configure">./configure --prefix=/usr     \
    5454            --sysconfdir=/etc \
    55             --localstatedir=/var \
    56             --libexecdir=/usr/lib/dbus-1.0 \
    57             --disable-static</userinput></screen>
     55            --localstatedir=/var</userinput></screen>
    5856
    5957    <para>Compile the package:</para>
     
    9492      <seglistitem>
    9593        <seg>none</seg>
    96         <seg>libdbus-1.so</seg>
     94        <seg>libdbus-1.{a,so}</seg>
    9795        <seg>/usr/include/dbus-1.0, /usr/lib/dbus-1.0</seg>
    9896      </seglistitem>
     
    104102      <?dbhtml list-presentation="table"?>
    105103
    106       <varlistentry id="libdbus-lib">
    107         <term><filename class="libraryfile">libdbus-1.so</filename></term>
     104      <varlistentry id="libdbus-1">
     105        <term><filename class="libraryfile">libdbus-1</filename></term>
    108106        <listitem>
    109107          <para>Contains API functions used to communicate with the D-Bus
    110108          message bus.</para>
    111           <indexterm zone="ch-system-libdbus libdbus-lib">
     109          <indexterm zone="ch-system-libdbus libdbus-1">
    112110            <primary sortas="c-libdbus">libdbus</primary>
    113111          </indexterm>
  • chapter06/systemd.xml

    r58c8823 r720f253  
    140140
    141141<screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen>
     142
     143    <para>Remove an unnecessary directory:</para>
     144
     145<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
    142146
    143147    <para>Create the Sysvinit compatibility symlinks, so Systemd is used
     
    181185        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
    182186        /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
    183         /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d, /usr/lib/rpm,
     187        /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
    184188        /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
    185189        /usr/share/doc/systemd-&systemd-version;, /usr/share/systemd,
  • chapter07/clock.xml

    r58c8823 r720f253  
    1919  system clock and timezone.</para>
    2020
    21   <para>Systemd provides a <command>timedatectl</command> utility which is
    22   used to communicate with <command>systemd-timedated</command>. It can be used
    23   to set the system clock in local time or UTC time, depending on the hardware
    24   clock setting. By default, <command>systemd-timedated</command> will assume
    25   that clock is set to UTC time.</para>
    26 
    2721  <para>If you cannot remember whether or not the hardware clock is set to UTC,
    2822  find out by running the <userinput>hwclock --localtime --show</userinput>
     
    3630  time.</para>
    3731
    38   <para>If your clock is set to local time, tell <command>systemd-timedated</command>
    39   about it by running the following command:</para>
     32  <para><command>systemd-timedated</command> reads <filename>/etc/adjtime</filename>,
     33  and depending on the contents of the file, it sets the clock to either UTC or
     34  local time.</para>
     35
     36  <para>Create the <filename>/etc/adjtime</filename> file with the following contents
     37  if your hardware clock is set to local time:</para>
     38
     39<screen role="nodump"><userinput>cat &gt; /etc/adjtime &lt;&lt; "EOF"
     40<literal>0.0 0 0.0
     410
     42LOCAL</literal>
     43EOF</userinput></screen>
     44
     45  <para>If <filename>/etc/adjtime</filename> isn't present at first boot,
     46  <command>systemd-timedated</command> will assume that hardware clock is
     47  set to UTC and adjust the file according to that.</para>
     48
     49  <para>You can also use the <command>timedatectl</command> utility to tell
     50  <command>systemd-timedated</command> if your hardware clock is set to
     51  UTC or local time:</para>
    4052
    4153<screen role="nodump"><userinput>timedatectl set-local-rtc 1</userinput></screen>
  • chapter07/network-scripts.xml

    r58c8823 r720f253  
    5757      <seglistitem>
    5858        <seg>ifdown, ifup, ipv4-static</seg>
    59         <seg>ifupdown@.service, nscd.service</seg>
     59        <seg>ifupdown@.service</seg>
    6060        <seg>/etc/sysconfig, /lib/services, /lib/lsb (symbolic link)</seg>
    6161      </seglistitem>
  • chapter09/reboot.xml

    r58c8823 r720f253  
    7474        <listitem><para>/root/.bash_profile          </para></listitem>
    7575        <listitem><para>/root/.bashrc                </para></listitem>
    76         <listitem><para>/etc/sysconfig/network       </para></listitem>
    7776        <listitem><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
    7877      </itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.