aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-11-21 17:44:11 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-11-21 17:44:11 +0000
commitc88356786f473b04aa90fde47fb486a693e70800 (patch)
tree9f951398b0c6051f55a3ece12c8437cf459dcac4 /chapter06
parent71f19f88bc34c0aae0dab549d0e221fba8562df5 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/linux-headers.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml
index 51f2e4eba..82fca175f 100644
--- a/chapter06/linux-headers.xml
+++ b/chapter06/linux-headers.xml
@@ -54,12 +54,14 @@
<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
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
make INSTALL_HDR_PATH=dest headers_install
-cp -rv dest/include/* /usr/include
-find /usr/include -name .install -o -name ..install.cmd -delete</userinput></screen>
+find dest/include \( -name .install -o -name ..install.cmd \) -delete
+cp -rv dest/include/* /usr/include</userinput></screen>
</sect2>