mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-11 06:44:13 +01:00
Fix removal of extra hidden files from include files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
71f19f88bc
commit
c88356786f
@ -54,12 +54,14 @@
|
|||||||
<para>Now test and extract the user-visible kernel headers from the source.
|
<para>Now test and extract the user-visible kernel headers from the source.
|
||||||
They are placed in an intermediate local directory and copied to the needed
|
They are placed in an intermediate local directory and copied to the needed
|
||||||
location because the extraction process removes any existing files in
|
location because the extraction process removes any existing files in
|
||||||
the target directory.</para>
|
the target directory. There are also some hidden files used by
|
||||||
|
the kernel developers and not needed by LFS that are removed from
|
||||||
|
the intermediate directory.</para>
|
||||||
|
|
||||||
<screen><userinput remap="install">make headers_check
|
<screen><userinput remap="install">make headers_check
|
||||||
make INSTALL_HDR_PATH=dest headers_install
|
make INSTALL_HDR_PATH=dest headers_install
|
||||||
cp -rv dest/include/* /usr/include
|
find dest/include \( -name .install -o -name ..install.cmd \) -delete
|
||||||
find /usr/include -name .install -o -name ..install.cmd -delete</userinput></screen>
|
cp -rv dest/include/* /usr/include</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user