From 5b7293ab71a253046b37850efe349b15692ad4fd Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Tue, 9 Mar 2004 19:08:33 +0000 Subject: Removing HOME and --login from the chroot commands. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3285 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'chapter06/coreutils.xml') 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". -To be able to run the full test suite, the su program -needs to be installed. We didn't bother to install this little program in - because it requires root privileges, -so do it now: - -make install-root - -Create a 'table of mounted filesystems' file with: +First create a 'table of mounted filesystems' file with: touch /etc/mtab @@ -70,7 +63,11 @@ are meant to be run as root: Then run the remainder of the tests as the dummy user: -su dummy -c "make RUN_EXPENSIVE_TESTS=yes check" +src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check" + +The above command uses the newly compiled src/su +program, since in we didn't bother to +install it, because installing it requires root privileges. When you're done testing, remove the dummy user and groups: -- cgit v1.2.3-54-g00ecf