Author: bdubbs
Date: 2009-11-21 10:44:11 -0700 (Sat, 21 Nov 2009)
New Revision: 9113
Modified:
trunk/BOOK/chapter06/linux-headers.xml
Log:
Fix removal of extra hidden files from include files
Modified: trunk/BOOK/chapter06/linux-headers.xml
===================================================================
--- trunk/BOOK/chapter06/linux-headers.xml 2009-11-21 11:11:39 UTC (rev
9112)
+++ trunk/BOOK/chapter06/linux-headers.xml 2009-11-21 17:44:11 UTC (rev
9113)
@@ -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>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page