aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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
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')
-rw-r--r--chapter06/chapter06.xml2
-rw-r--r--chapter06/util-linux.xml14
2 files changed, 14 insertions, 2 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 866cde984..a155e8308 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -32,11 +32,11 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgconfig.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
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>