aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2004-03-09 19:08:33 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2004-03-09 19:08:33 +0000
commit5b7293ab71a253046b37850efe349b15692ad4fd (patch)
tree8d6e4e7934428ddd0f75cadff9f5f2d18bfdf355 /chapter06/coreutils.xml
parentc6b5ddb7a6bd11d84c183cd3c3fd3c507f797978 (diff)
Removing HOME and --login from the chroot commands.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3285 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 1562d0598..24e7733e9 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -45,14 +45,7 @@ of files and users that aren't valid yet this early in the LFS build. We will
therefore have to set up a few things before being able to run the tests. If
you choose not to run these tests, skip down to "Install the package".</para>
-<para>To be able to run the full test suite, the <command>su</command> program
-needs to be installed. We didn't bother to install this little program in
-<xref linkend="chapter-temporary-tools"/> because it requires root privileges,
-so do it now:</para>
-
-<screen><userinput>make install-root</userinput></screen>
-
-<para>Create a 'table of mounted filesystems' file with:</para>
+<para>First create a 'table of mounted filesystems' file with:</para>
<screen><userinput>touch /etc/mtab</userinput></screen>
@@ -70,7 +63,11 @@ are meant to be run as <emphasis>root</emphasis>:</para>
<para>Then run the remainder of the tests as the <emphasis>dummy</emphasis>
user:</para>
-<screen><userinput>su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
+<screen><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
+
+<para>The above command uses the newly compiled <command>src/su</command>
+program, since in <xref linkend="chapter-temporary-tools"/> we didn't bother to
+install it, because installing it requires root privileges.</para>
<para>When you're done testing, remove the dummy user and groups:</para>