diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-28 15:56:27 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-28 15:56:27 +0000 |
commit | a4da68159c17ba1fb5fe2ff381472008ef5a6b99 (patch) | |
tree | f376e24cf822bec862c7012d620f08d9990c31a5 /chapter05 | |
parent | c7f342e7c4956c9ede431bc572c80204aa839144 (diff) |
chown root.root the kernel include files in $LFS/usr/include/linux|asm
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@724 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/kernel-exp.xml | 9 | ||||
-rw-r--r-- | chapter05/kernel-inst.xml | 6 |
2 files changed, 14 insertions, 1 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index 883364240..a89022963 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -33,5 +33,14 @@ These commands copy the kernel headers in the <filename>$LFS/usr/include</filename> directory. </para> +<para> +<userinput>chown root.root $LFS/usr/include/linux -R </userinput> and +<userinput>chown root.root $LFS/usr/include/asm -R </userinput>: +These commands change the ownership of the +<filename>$LFS/usr/include/linux</filename> and the +<filename>$LFS/usr/include/asm</filename> directories to the user +root and group root. +</para> + </sect2> diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index a12a517b1..c02df1090 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -21,8 +21,12 @@ The kernel configuration file is created by running the following command: <userinput>make dep &&</userinput> <userinput>cd $LFS/usr/include &&</userinput> <userinput>cp -a ../src/linux/include/linux . &&</userinput> + <userinput>chown root.root $LFS/usr/include/linux -R + &&</userinput> <userinput>mkdir asm &&</userinput> - <userinput>cp -a ../src/linux/include/asm/* asm</userinput> + <userinput>cp -a ../src/linux/include/asm/* asm &&</userinput> + <userinput>chown root.root $LFS/usr/include/asm -R</userinput> + </literallayout></blockquote> </sect2> |