diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-05-30 18:22:47 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-05-30 18:22:47 +0000 |
commit | ae7f075dd6185f9ec93d5aedbb46e98511f25235 (patch) | |
tree | 910ae466b675094d23e33c62fa9a598b67fccfd7 /chapter06/util-linux.xml | |
parent | f4bb2af2e4b9c007a6e660409e9fd5670c3469df (diff) |
Update to trunk r11877
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11878 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r-- | chapter06/util-linux.xml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index bc328e8bb..519c3b171 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -40,21 +40,16 @@ </sect2> <sect2 role="installation"> - <title>FHS compliance notes</title> + <title>Installation of Util-linux</title> <para>The FHS recommends using the <filename class="directory">/var/lib/hwclock</filename> directory instead of the usual <filename class="directory">/etc</filename> directory as the - location for the <filename>adjtime</filename> file. First create a directory - to enable storage for the <command>hwclock</command> program:</para> + location for the <filename>adjtime</filename> file. Create this directory + with:</para> <screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen> - </sect2> - - <sect2 role="installation"> - <title>Installation of Util-linux</title> - <para>Prepare Util-linux for compilation:</para> <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ @@ -103,8 +98,8 @@ <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen> </warning> -<screen><userinput remap="test">chown -Rv nobody . -su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> +<screen><userinput remap="test">chown -Rv tester . +su tester -c "make -k check"</userinput></screen> <para>Install the package:</para> |