aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorSimon Perreault <nomis80@videotron.ca>2001-04-17 00:24:53 +0000
committerSimon Perreault <nomis80@videotron.ca>2001-04-17 00:24:53 +0000
commit22c89bdaffe808839193af96247180f8a0ce2c0b (patch)
tree0479a7b407c5efd5545e27cbb80499107f92e6fa /chapter06
parent0c21363e1030e33860c7b8c3127bf43db97dfb6b (diff)
FHS compliance, step 1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@526 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/e2fsprogs-inst.xml3
-rw-r--r--chapter06/gzip-inst.xml3
-rw-r--r--chapter06/utillinux-exp.xml5
-rw-r--r--chapter06/utillinux-inst.xml7
4 files changed, 15 insertions, 3 deletions
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml
index 88d2aadb2..a7ba507d7 100644
--- a/chapter06/e2fsprogs-inst.xml
+++ b/chapter06/e2fsprogs-inst.xml
@@ -15,7 +15,8 @@ to be like this. We did not forget to supply a value there.
<userinput>&nbsp;&nbsp;&nbsp;--enable-elf-shlibs &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
- <userinput>make install-libs</userinput>
+ <userinput>make install-libs &amp;&amp;</userinput>
+ <userinput>mv /usr/sbin/mklost+found /sbin</userinput>
</literallayout></blockquote>
</sect2>
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 80de916ae..6af228e10 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -11,9 +11,10 @@ Install Gzip by running the following commands:
<userinput>make install &amp;&amp;</userinput>
<userinput>cd /usr/bin &amp;&amp;</userinput>
<userinput>mv gzip /bin &amp;&amp;</userinput>
- <userinput>rm gunzip &amp;&amp;</userinput>
+ <userinput>rm gunzip zcat &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
<userinput>ln -sf gzip gunzip &amp;&amp;</userinput>
+ <userinput>ln -s gzip zcat &amp;&amp;</userinput>
<userinput>ln -s gzip compress &amp;&amp;</userinput>
<userinput>ln -s gunzip uncompress</userinput>
</literallayout></blockquote>
diff --git a/chapter06/utillinux-exp.xml b/chapter06/utillinux-exp.xml
index 8e88ccf7e..1d3046201 100644
--- a/chapter06/utillinux-exp.xml
+++ b/chapter06/utillinux-exp.xml
@@ -6,5 +6,10 @@
it already was installed by Glibc.
</para>
+<para>
+<userinput>/var/lib/hwclock/adjtime</userinput> The adjtime file is placed in
+/var/lib/hwclock as dictates the Filesystem Hierarchy Standard (FHS).
+</para>
+
</sect2>
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml
index b6652e8b4..80484c9f1 100644
--- a/chapter06/utillinux-inst.xml
+++ b/chapter06/utillinux-inst.xml
@@ -10,9 +10,14 @@ Install Util-Linux by running the following commands:
<userinput>&nbsp;&nbsp;&nbsp;MCONFIG &gt; MCONFIG~
&amp;&amp;</userinput>
<userinput>mv MCONFIG~ MCONFIG &amp;&amp;</userinput>
+ <userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|" \
+ </userinput>
+ <userinput>hwclock/hwclock.c &gt; hwclock~ &amp;&amp;</userinput>
+ <userinput>mv hwclock~ hwclock/hwclock.c &amp;&amp;</userinput>
<userinput>./configure &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
- <userinput>make install</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>mkdir /var/lib/hwclock</userinput>
</literallayout></blockquote>
</sect2>