aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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 /chapter06
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/linux-headers.xml3
1 files changed, 2 insertions, 1 deletions
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>