diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml index e974e445c..3b8a979be 100644 --- a/chapter04/aboutlfs.xml +++ b/chapter04/aboutlfs.xml @@ -9,29 +9,4 @@ See testing - - diff --git a/chapter04/aboutsbus.xml b/chapter04/aboutsbus.xml index 1e73867f6..5dcde564d 100644 --- a/chapter04/aboutsbus.xml +++ b/chapter04/aboutsbus.xml @@ -9,40 +9,4 @@ See testing - - diff --git a/chapter04/abouttestsuites.xml b/chapter04/abouttestsuites.xml index aca364c96..55dc3b9ac 100644 --- a/chapter04/abouttestsuites.xml +++ b/chapter04/abouttestsuites.xml @@ -9,40 +9,4 @@ See testing - - diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index ad0a3e836..838fc8b4f 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -7,84 +7,17 @@ Adding the user lfs - +Issue the following commands to add the new user: groupadd lfs useradd -s /bin/bash -g lfs -m -k /dev/null lfs - - passwd lfs - - chown lfs $LFS/tools - - chown lfs $LFS/sources - - su - lfs - - diff --git a/chapter04/creatingtoolsdir.xml b/chapter04/creatingtoolsdir.xml index 47ee36a57..7575b3811 100644 --- a/chapter04/creatingtoolsdir.xml +++ b/chapter04/creatingtoolsdir.xml @@ -7,46 +7,8 @@ Creating the $LFS/tools directory - - mkdir $LFS/tools - - ln -s $LFS/tools / - - diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index f287b93b9..cf3777dd8 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -7,35 +7,10 @@ Setting up the environment - - cat > ~/.bash_profile << "EOF" exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash EOF - - cat > ~/.bashrc << "EOF" set +h umask 022 @@ -45,42 +20,6 @@ PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL PATH EOF - - source ~/.bash_profile