diff options
author | Pierre Labastie <pierre.labastie@neuf.fr> | 2022-08-31 21:32:18 +0200 |
---|---|---|
committer | Pierre Labastie <pierre.labastie@neuf.fr> | 2022-08-31 21:34:49 +0200 |
commit | 51b7349a9765ac443408e9ac263984d3a6e1e369 (patch) | |
tree | e45cea884c07b2f8db548e763cbf9669d521cc91 /chapter05 | |
parent | b877b48a51974ea09f22f1d7ec905add48f7c0f9 (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.xml | 3 |
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> |