From f5eb738df4963c9ff03bfab2c629fc1387f222e6 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 25 Sep 2019 12:32:25 +0000 Subject: [PATCH] Linux-5.3.1, and fix the instructions for installing headers git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11676 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter05/linux-headers.xml | 12 +++++++----- chapter06/linux-headers.xml | 18 ++++++++++-------- general.ent | 6 +++--- packages.ent | 14 +++++++------- 5 files changed, 37 insertions(+), 23 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fd6f2689f..ec69d4748 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,16 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2019-09-24 + + + [pierre] - Update to linux-5.3.1. Fixes + #4528. + + + + 2019-09-14 diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml index b5f134ee3..7a92b466f 100644 --- a/chapter05/linux-headers.xml +++ b/chapter05/linux-headers.xml @@ -53,12 +53,14 @@ make mrproper Now 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 recommended make target headers_install cannot be + used, because it requires rsync, which may not + be available. The headers are first placed in + ./usr, then copied to the needed + location. -make INSTALL_HDR_PATH=dest headers_install -cp -rv dest/include/* /tools/include +make headers +cp -rv usr/include/* /tools/include diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml index 1bf45bff5..f1d4cb14e 100644 --- a/chapter06/linux-headers.xml +++ b/chapter06/linux-headers.xml @@ -53,15 +53,17 @@ make mrproper Now 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. There are also some hidden files used by - the kernel developers and not needed by LFS that are removed from - the intermediate directory. + The recommended make target headers_install cannot be + used, because it requires rsync, which is + not available in /tools. The + headers are first placed in ./usr, + then some files used by the kernel developers are removed, then + the files are copied to their final location. -make INSTALL_HDR_PATH=dest headers_install -find dest/include \( -name .install -o -name ..install.cmd \) -delete -cp -rv dest/include/* /usr/include +make headers +find usr/include -name '.*' -delete +rm usr/include/Makefile +cp -rv usr/include/* /usr/include diff --git a/general.ent b/general.ent index c597e7369..e91b9b9ad 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index 33ce4f70d..5d686c2c5 100644 --- a/packages.ent +++ b/packages.ent @@ -421,13 +421,13 @@ - - + + - + - +