Index: chapter06/bash.xml
===================================================================
--- chapter06/bash.xml (revision 18fa90938b1505e9a0142883599fd560057a56ff)
+++ chapter06/bash.xml (revision 1f5a5864d2e3a4a04bbc1a76f2ac4665ff485650)
@@ -82,13 +82,11 @@
su tester -c "PATH=$PATH make tests"
-
+
The tester
user does not have enough permissions for all the tests to pass. This shows
- up in some diff
output in four test results.
+ up in some diff
output in four test results. Portions of the
+ run-execscript, run-lastpipe, run-read, and run-test programs
+ are known to fail in the LFS chroot environment, but pass if the tests
+ are run in a full system.
Install the package and move the main executable to
Index: chapter06/createfiles.xml
===================================================================
--- chapter06/createfiles.xml (revision 18fa90938b1505e9a0142883599fd560057a56ff)
+++ chapter06/createfiles.xml (revision 1f5a5864d2e3a4a04bbc1a76f2ac4665ff485650)
@@ -346,6 +346,7 @@
user here and delete this account at the end of the chapter.
-echo "tester:x:101:101::/tmp:/bin/bash" >> /etc/passwd
-echo "tester:x:101:dummy" >> /etc/group
+echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd
+echo "tester:x:101:dummy" >> /etc/group
+install -o tester -d /home/tester
To remove the I have no name!
prompt, start a new
Index: chapter06/revisedchroot.xml
===================================================================
--- chapter06/revisedchroot.xml (revision 18fa90938b1505e9a0142883599fd560057a56ff)
+++ chapter06/revisedchroot.xml (revision 1f5a5864d2e3a4a04bbc1a76f2ac4665ff485650)
@@ -74,4 +74,5 @@
beginning of this chapter.
-sed -i '/tester/d' /etc/passwd /etc/group
+sed -i '/tester/d' /etc/passwd /etc/group
+rm -rf /home/tester