aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2009-11-21 11:11:39 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2009-11-21 11:11:39 +0000
commit71f19f88bc34c0aae0dab549d0e221fba8562df5 (patch)
treec5e66bdcac0dc227e53f876cf1e0da5b37ef075d
parentfb55e1fe5ff98cf032ce5f756269d30f4f5fef49 (diff)
Remove unneccessary files installed by Linux headers.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9112 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/linux-headers.xml3
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 2ebc622fe..80c6df7fe 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -41,6 +41,10 @@
<para>2009-11-21</para>
<itemizedlist>
<listitem>
+ <para>[matthew] Remove unneccessary .install and ..install.cmd
+ files that were being installed by the Linux headers.</para>
+ </listitem>
+ <listitem>
<para>[matthew] Upgraded to Coreutils-8.1. Fixes
<ulink url="&lfs-ticket-root;2518">#2518</ulink>.</para>
</listitem>
diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml
index d77cc7c4d..51f2e4eba 100644
--- a/chapter06/linux-headers.xml
+++ b/chapter06/linux-headers.xml
@@ -58,7 +58,8 @@
<screen><userinput remap="install">make headers_check
make INSTALL_HDR_PATH=dest headers_install
-cp -rv dest/include/* /usr/include</userinput></screen>
+cp -rv dest/include/* /usr/include
+find /usr/include -name .install -o -name ..install.cmd -delete</userinput></screen>
</sect2>