aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/util-linux.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2013-06-03 18:55:49 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2013-06-03 18:55:49 +0000
commit6c4092b0e7ff1a9342ee3234bffcb56f5617b9fe (patch)
treec676febc46834b5ae5478c571db8efc9ad6130e2 /chapter06/util-linux.xml
parenta03cebdcff7f7c688aeaa94e046c914120ed21fc (diff)
Update to gcc-4.8.1
Update to util-linux-2.23.1 Added test suites to util-linux, but needed to move shadow before util-linux to have su available. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10290 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r--chapter06/util-linux.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index b61bdfa06..f132967ed 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -81,7 +81,19 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
<screen><userinput remap="make">make</userinput></screen>
- <para>This package does not come with a test suite.</para>
+ <para>If desired, run the test suite as a non-root user:</para>
+
+ <warning><para>Running the test suite as the root user can be harmful to
+ your system. To run it, the kernel CONFIG_SCSI_DEBUG option for the
+ kernel must be available in the currently running system. For complete
+ coverage, other BLFS packages must be installed. If desired, this
+ test can be run after rebooting into the completed LFS system and running:</para>
+
+ <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 check"</userinput></screen>
<para>Install the package:</para>