From 51b7349a9765ac443408e9ac263984d3a6e1e369 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 31 Aug 2022 21:32:18 +0200 Subject: 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 --- chapter05/linux-headers.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chapter05/linux-headers.xml') 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 -- cgit v1.2.3-54-g00ecf