Author: krejzi
Date: Mon Feb 17 20:07:01 2014
New Revision: 10479
Log:
Some more fixes.
Modified:
branches/systemd/BOOK/chapter06/acl.xml
branches/systemd/BOOK/chapter06/dbus.xml
branches/systemd/BOOK/chapter06/libdbus.xml
branches/systemd/BOOK/chapter06/systemd.xml
branches/systemd/BOOK/chapter07/clock.xml
branches/systemd/BOOK/chapter07/network-scripts.xml
branches/systemd/BOOK/chapter09/reboot.xml
Modified: branches/systemd/BOOK/chapter06/acl.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/acl.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter06/acl.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -53,7 +53,7 @@
<para>Prepare Acl for compilation:</para>
-<screen><userinput remap="configure">./configure
--prefix=/usr</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr
--libexecdir=/usr/lib</userinput></screen>
<para>Compile the package:</para>
Modified: branches/systemd/BOOK/chapter06/dbus.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/dbus.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter06/dbus.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -187,17 +187,6 @@
</listitem>
</varlistentry>
- <varlistentry id="libdbus">
- <term><filename class="libraryfile">libdbus-1</filename></term>
- <listitem>
- <para>Contains API functions used to communicate with the D-Bus
- message bus.</para>
- <indexterm zone="ch-system-dbus libdbus">
- <primary sortas="c-libdbus">libdbus</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
</variablelist>
</sect2>
Modified: branches/systemd/BOOK/chapter06/libdbus.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/libdbus.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter06/libdbus.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -50,11 +50,9 @@
<para>Prepare Libdbus for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
+<screen><userinput remap="configure">./configure --prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/dbus-1.0 \
- --disable-static</userinput></screen>
+ --localstatedir=/var</userinput></screen>
<para>Compile the package:</para>
@@ -93,7 +91,7 @@
<seglistitem>
<seg>none</seg>
- <seg>libdbus-1.so</seg>
+ <seg>libdbus-1.{a,so}</seg>
<seg>/usr/include/dbus-1.0, /usr/lib/dbus-1.0</seg>
</seglistitem>
</segmentedlist>
@@ -103,12 +101,12 @@
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <varlistentry id="libdbus-lib">
- <term><filename class="libraryfile">libdbus-1.so</filename></term>
+ <varlistentry id="libdbus-1">
+ <term><filename class="libraryfile">libdbus-1</filename></term>
<listitem>
<para>Contains API functions used to communicate with the D-Bus
message bus.</para>
- <indexterm zone="ch-system-libdbus libdbus-lib">
+ <indexterm zone="ch-system-libdbus libdbus-1">
<primary sortas="c-libdbus">libdbus</primary>
</indexterm>
</listitem>
Modified: branches/systemd/BOOK/chapter06/systemd.xml
==============================================================================
--- branches/systemd/BOOK/chapter06/systemd.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter06/systemd.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -140,6 +140,10 @@
<screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2
/lib</userinput></screen>
+ <para>Remove an unnecessary directory:</para>
+
+<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
+
<para>Create the Sysvinit compatibility symlinks, so Systemd is used
as the default init system:</para>
@@ -180,7 +184,7 @@
<seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
/etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
/etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
- /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
/usr/lib/rpm,
+ /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
/usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
/usr/share/doc/systemd-&systemd-version;, /usr/share/systemd,
/var/lib/systemd, /var/log/journal</seg>
Modified: branches/systemd/BOOK/chapter07/clock.xml
==============================================================================
--- branches/systemd/BOOK/chapter07/clock.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter07/clock.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -18,12 +18,6 @@
<command>systemd-timedated</command> system service, which configures
system clock and timezone.</para>
- <para>Systemd provides a <command>timedatectl</command> utility which is
- used to communicate with <command>systemd-timedated</command>. It can be used
- to set the system clock in local time or UTC time, depending on the hardware
- clock setting. By default, <command>systemd-timedated</command> will assume
- that clock is set to UTC time.</para>
-
<para>If you cannot remember whether or not the hardware clock is set to UTC,
find out by running the <userinput>hwclock --localtime --show</userinput>
command. This will display what the current time is according to the hardware
@@ -35,8 +29,26 @@
timezone, which is also known as GMT -0700, add seven hours to the local
time.</para>
- <para>If your clock is set to local time, tell
<command>systemd-timedated</command>
- about it by running the following command:</para>
+ <para><command>systemd-timedated</command> reads
<filename>/etc/adjtime</filename>,
+ and depending on the contents of the file, it sets the clock to either UTC or
+ local time.</para>
+
+ <para>Create the <filename>/etc/adjtime</filename> file with the following
contents
+ if your hardware clock is set to local time:</para>
+
+<screen role="nodump"><userinput>cat > /etc/adjtime << "EOF"
+<literal>0.0 0 0.0
+0
+LOCAL</literal>
+EOF</userinput></screen>
+
+ <para>If <filename>/etc/adjtime</filename> isn't present at first boot,
+ <command>systemd-timedated</command> will assume that hardware clock is
+ set to UTC and adjust the file according to that.</para>
+
+ <para>You can also use the <command>timedatectl</command> utility to tell
+ <command>systemd-timedated</command> if your hardware clock is set to
+ UTC or local time:</para>
<screen role="nodump"><userinput>timedatectl set-local-rtc
1</userinput></screen>
Modified: branches/systemd/BOOK/chapter07/network-scripts.xml
==============================================================================
--- branches/systemd/BOOK/chapter07/network-scripts.xml Mon Feb 17 18:24:31
2014 (r10478)
+++ branches/systemd/BOOK/chapter07/network-scripts.xml Mon Feb 17 20:07:01
2014 (r10479)
@@ -56,7 +56,7 @@
<seglistitem>
<seg>ifdown, ifup, ipv4-static</seg>
- <seg>[email protected], nscd.service</seg>
+ <seg>[email protected]</seg>
<seg>/etc/sysconfig, /lib/services, /lib/lsb (symbolic link)</seg>
</seglistitem>
</segmentedlist>
Modified: branches/systemd/BOOK/chapter09/reboot.xml
==============================================================================
--- branches/systemd/BOOK/chapter09/reboot.xml Mon Feb 17 18:24:31 2014
(r10478)
+++ branches/systemd/BOOK/chapter09/reboot.xml Mon Feb 17 20:07:01 2014
(r10479)
@@ -73,7 +73,6 @@
<listitem><para>/etc/vimrc </para></listitem>
<listitem><para>/root/.bash_profile </para></listitem>
<listitem><para>/root/.bashrc </para></listitem>
- <listitem><para>/etc/sysconfig/network </para></listitem>
<listitem><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
</itemizedlist>
</listitem>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page