mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@526 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
25 lines
774 B
XML
25 lines
774 B
XML
<sect2>
|
|
<title>Installation of Util-Linux</title>
|
|
|
|
<para>
|
|
Install Util-Linux by running the following commands:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
<userinput>sed s/HAVE_SLN=no/HAVE_SLN=yes/ \</userinput>
|
|
<userinput> MCONFIG > MCONFIG~
|
|
&&</userinput>
|
|
<userinput>mv MCONFIG~ MCONFIG &&</userinput>
|
|
<userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|" \
|
|
</userinput>
|
|
<userinput>hwclock/hwclock.c > hwclock~ &&</userinput>
|
|
<userinput>mv hwclock~ hwclock/hwclock.c &&</userinput>
|
|
<userinput>./configure &&</userinput>
|
|
<userinput>make &&</userinput>
|
|
<userinput>make install &&</userinput>
|
|
<userinput>mkdir /var/lib/hwclock</userinput>
|
|
</literallayout></blockquote>
|
|
|
|
</sect2>
|
|
|