diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 38d233a9d..4cdf2596e 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -83,13 +83,13 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;/usr. - - If you wish to include /bin - and/or /sbin in the PATH - for some reason, modify the - PATH in .bashrc after LFS has been - built. - + + Including /bin + and/or /sbin in + the PATH variable may cause some BLFS packages fail to + build, so don't do that + in the .bashrc file or anywhere else. + sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \ -e 's:/var/spool/mail:/var/mail:' \ diff --git a/chapter11/afterlfs.xml b/chapter11/afterlfs.xml index 633a782df..88a3c0114 100644 --- a/chapter11/afterlfs.xml +++ b/chapter11/afterlfs.xml @@ -168,7 +168,7 @@ EOF alias lfs='sudo /usr/sbin/chroot /mnt/lfs /usr/bin/env -i HOME=/root TERM="$TERM" PS1="\u:\w\\\\$ " -PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login' +PATH=/usr/bin:/usr/sbin /bin/bash --login' This alias is a little tricky because of the quoting and levels of