diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/util-linux.xml | 14 |
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> |