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. make headers -find usr/include -name '.*' -delete -rm usr/include/Makefile +find usr/include -type f ! -name '*.h' -delete cp -rv usr/include $LFS/usr