From ae79672711d932594ad1ca8a0af33edf6a46aa46 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 19 Dec 2004 19:50:52 +0000 Subject: More text dropped. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4425 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter03/introduction.xml | 6 +++++- chapter03/packages.xml | 4 +++- chapter03/patches.xml | 5 ++++- chapter04/aboutlfs.xml | 4 ++++ chapter04/aboutsbus.xml | 6 +++++- chapter04/abouttestsuites.xml | 6 +++++- chapter04/addinguser.xml | 12 ++++++++++++ chapter04/creatingtoolsdir.xml | 8 +++++++- chapter04/settingenviron.xml | 6 ++++++ chapter09/reboot.xml | 10 ++++++++++ 10 files changed, 61 insertions(+), 6 deletions(-) diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index 7fa9ecdd5..4c42bdd36 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -7,6 +7,7 @@ Introduction + mkdir $LFS/sources -And make this directory writable (and sticky) for your normal user -- as + chmod a+wt $LFS/sources diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 0fe2fdb84..722abce76 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -132,7 +132,7 @@ -Glibc (&glibc-version;) - 13,800 KB: -- (see Note 1 below) +Glibc (&glibc-version;) - 13,800 KB: @@ -427,6 +427,8 @@ + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 105c61c8c..2d028c114 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -7,13 +7,14 @@ Needed patches + -Patches Bash Various Fixes - 21 KB: @@ -149,10 +150,12 @@ following: + diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml index 3d320c3a3..e974e445c 100644 --- a/chapter04/aboutlfs.xml +++ b/chapter04/aboutlfs.xml @@ -7,6 +7,9 @@ About $LFS +See testing + + diff --git a/chapter04/aboutsbus.xml b/chapter04/aboutsbus.xml index e8983711f..1e73867f6 100644 --- a/chapter04/aboutsbus.xml +++ b/chapter04/aboutsbus.xml @@ -7,12 +7,15 @@ About SBUs +See testing + + diff --git a/chapter04/abouttestsuites.xml b/chapter04/abouttestsuites.xml index 9fea71799..aca364c96 100644 --- a/chapter04/abouttestsuites.xml +++ b/chapter04/abouttestsuites.xml @@ -7,6 +7,9 @@ About the test suites +See testing + + diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index c0dc9ad67..ad0a3e836 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -7,6 +7,7 @@ Adding the user lfs + 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 6747b5edd..47ee36a57 100644 --- a/chapter04/creatingtoolsdir.xml +++ b/chapter04/creatingtoolsdir.xml @@ -7,6 +7,7 @@ Creating the $LFS/tools directory + mkdir $LFS/tools + ln -s $LFS/tools / + diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml index 174d6ad27..f287b93b9 100644 --- a/chapter04/settingenviron.xml +++ b/chapter04/settingenviron.xml @@ -7,15 +7,18 @@ 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 @@ -41,6 +45,7 @@ PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL PATH EOF + source ~/.bash_profile diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml index 018b13f8f..126487a60 100644 --- a/chapter09/reboot.xml +++ b/chapter09/reboot.xml @@ -7,12 +7,16 @@ Rebooting the system + logout + umount $LFS/dev/pts umount $LFS/dev/shm @@ -20,7 +24,9 @@ umount $LFS/dev umount $LFS/proc umount $LFS/sys + umount $LFS @@ -31,14 +37,18 @@ partitions before unmounting the main one, like this: umount $LFS/home umount $LFS + shutdown -r now + -- cgit v1.2.3-54-g00ecf