diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml index 51f2e4eba..82fca175f 100644 --- a/chapter06/linux-headers.xml +++ b/chapter06/linux-headers.xml @@ -54,12 +54,14 @@ Now test and extract the user-visible kernel headers from the source. They are placed in an intermediate local directory and copied to the needed location because the extraction process removes any existing files in - the target directory. + the target directory. There are also some hidden files used by + the kernel developers and not needed by LFS that are removed from + the intermediate directory. make headers_check make INSTALL_HDR_PATH=dest headers_install -cp -rv dest/include/* /usr/include -find /usr/include -name .install -o -name ..install.cmd -delete +find dest/include \( -name .install -o -name ..install.cmd \) -delete +cp -rv dest/include/* /usr/include