aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-08-31 21:32:18 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2022-08-31 21:34:49 +0200
commit51b7349a9765ac443408e9ac263984d3a6e1e369 (patch)
treee45cea884c07b2f8db548e763cbf9669d521cc91 /chapter05
parentb877b48a51974ea09f22f1d7ec905add48f7c0f9 (diff)
Remove all non header files in linux headers
Report by Joe Locash that a perl script was left in /usr/include with our current instructions
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/linux-headers.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml
index 24415bf55..09fedf835 100644
--- a/chapter05/linux-headers.xml
+++ b/chapter05/linux-headers.xml
@@ -59,8 +59,7 @@
location.</para>
<screen><userinput remap="make">make headers
-find usr/include -name '.*' -delete
-rm usr/include/Makefile
+find usr/include -type f ! -name '*.h' -delete
</userinput><userinput remap="install">cp -rv usr/include $LFS/usr</userinput></screen>
</sect2>