mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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
This commit is contained in:
parent
c7f342e7c4
commit
a4da68159c
@ -33,5 +33,14 @@ These commands copy the kernel headers in the
|
|||||||
<filename>$LFS/usr/include</filename> directory.
|
<filename>$LFS/usr/include</filename> directory.
|
||||||
</para>
|
</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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -21,8 +21,12 @@ The kernel configuration file is created by running the following command:
|
|||||||
<userinput>make dep &&</userinput>
|
<userinput>make dep &&</userinput>
|
||||||
<userinput>cd $LFS/usr/include &&</userinput>
|
<userinput>cd $LFS/usr/include &&</userinput>
|
||||||
<userinput>cp -a ../src/linux/include/linux . &&</userinput>
|
<userinput>cp -a ../src/linux/include/linux . &&</userinput>
|
||||||
|
<userinput>chown root.root $LFS/usr/include/linux -R
|
||||||
|
&&</userinput>
|
||||||
<userinput>mkdir asm &&</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>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
Reference in New Issue
Block a user