diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-23 18:21:39 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-23 18:21:39 +0000 |
commit | 93dba6aba6b5b53738a436ea6bbecfd8e4c9c46e (patch) | |
tree | 6907a2aba6bd97e351564da1b14047581825a766 /chapter05 | |
parent | 0aecdecd6293ed9b2ab0c0b2efe1c008a59f0f93 (diff) |
Implemented bug 149 (install chapter 5 as an unprivileged user)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/chapter05.xml | 3 | ||||
-rw-r--r-- | chapter05/kernel-exp.xml | 4 | ||||
-rw-r--r-- | chapter05/kernel-inst.xml | 3 | ||||
-rw-r--r-- | chapter05/proc.xml | 18 | ||||
-rw-r--r-- | chapter05/shellutils-inst.xml | 2 |
5 files changed, 15 insertions, 15 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index aae848b3b..aa24547fb 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -4,7 +4,8 @@ &c5-introduction; &c5-whystatic; -&c5-installasroot; +&c5-installasuser; +&c5-creatingdirs; &c5-bash; &c5-binutils; &c5-bzip2; diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index a5877e1b2..3cb6eca8b 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -25,9 +25,5 @@ and <userinput>cp -HR include/linux $LFS/usr/include</userinput>: These commands copy the required kernel header files to <filename>$LFS/usr/include</filename>.</para> -<para><userinput>chown -R root.root $LFS/usr/include</userinput>: -This ensures all header files under <filename>$LFS/usr/include</filename> -are owned by user root and group root.</para> - </sect2> diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index 89fb578f0..fc4b0ab3b 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -14,8 +14,7 @@ command:</para> yes "" | make config && make dep && cp -HR include/asm $LFS/usr/include && -cp -HR include/linux $LFS/usr/include && -chown -R root.root $LFS/usr/include</userinput></screen></para> +cp -HR include/linux $LFS/usr/include</userinput></screen></para> </sect2> diff --git a/chapter05/proc.xml b/chapter05/proc.xml index 7cb5adcee..a775d3f11 100644 --- a/chapter05/proc.xml +++ b/chapter05/proc.xml @@ -2,14 +2,18 @@ <title>Mounting $LFS/proc file system</title> <?dbhtml filename="proc.html" dir="chapter05"?> -<para>In order for certain programs to function properly, the proc file system -must be mounted and available from within the chroot'ed environment as -well. It's not a problem to mount the proc file system twice -or even more than that, since it's a virtual file system maintained by -the kernel itself.</para> +<para>In order for certain programs to function properly, the proc file +system must be mounted and available from within the chroot'ed environment +as well. It's not a problem to mount the proc file system twice or even +more than that, since it's a virtual file system maintained by the kernel +itself.</para> -<para>The proc file system is mounted under $LFS/proc by running the following -command:</para> +<para>If you're still logged in as user "lfs", you should log out and log +in again as user root. The reason for this is simple: only root is allowed +to mount filesystems and to run chroot.</para> + +<para>The proc file system is mounted under $LFS/proc by running the +following command:</para> <para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para> diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml index 74f8def4f..03619e480 100644 --- a/chapter05/shellutils-inst.xml +++ b/chapter05/shellutils-inst.xml @@ -19,7 +19,7 @@ make LDFLAGS=-static && make install && cd $LFS/usr/bin && mv date echo false pwd stty $LFS/bin && -mv su true uname hostname $LFS/bin</userinput></screen></para> +mv true uname hostname $LFS/bin</userinput></screen></para> </sect2> |