From 6c672426f85596f90903645f78d510d52f2846a5 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 20 Sep 2018 17:02:36 +0000 Subject: Clean up of unneeded symbolic links. Reordered packages so version specific packages are built as late as possible in Chapter 6. Now building util-linux in Chapter 5 is unneeded and has been removed. Update to eudev-3.2.6. Update to elfutils-0.174 (libelf). Update to psmisc-23.2. Update to openssl-1.1.1. Update to linux-4.18.9. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chapter06.xml | 21 +++++++++---------- chapter06/createfiles.xml | 51 +++++++++++++++++++++-------------------------- chapter06/e2fsprogs.xml | 10 +++++++--- chapter06/libelf.xml | 2 +- chapter06/make.xml | 2 +- 5 files changed, 41 insertions(+), 45 deletions(-) (limited to 'chapter06') diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index cd152491d..79212653c 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -39,7 +39,6 @@ - @@ -65,12 +64,6 @@ - - - - - - @@ -85,20 +78,24 @@ + + + + + + + + + - - - - - diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index cd90477df..0f7b7e0ac 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -39,40 +39,27 @@ will be replaced by real files throughout the course of this chapter after the software has been installed: - - +ln -sv bash /bin/sh - -ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin -ln -sv /tools/bin/{env,install,perl} /usr/bin -ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib -ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib -for lib in blkid lzma mount uuid + + + +done--> The purpose of each link: @@ -107,6 +94,14 @@ ln -sv bash /bin/sh + + /usr/bin/env + + This pathname is hard-coded into some packages build procedures. + + + + /usr/bin/install @@ -182,14 +177,14 @@ ln -sv bash /bin/sh --> - + utilities from acquiring an + These links prevent utilities from acquiring an unnecessary reference to the /tools directory. - + --> /bin/sh diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 6b935a265..76bb1db15 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -117,13 +117,17 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ Compile the package: make - + + + To run the tests, issue: -ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib -make LD_LIBRARY_PATH=/tools/lib check +make check + + One of the E2fsprogs tests will attempt to allocate 256 MB of memory. If you do not have significantly more RAM than this, be sure to enable diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml index 7166dd48f..280d1fe66 100644 --- a/chapter06/libelf.xml +++ b/chapter06/libelf.xml @@ -14,7 +14,7 @@
&elfutils-url;
- Libelf &elfutils-version; + Libelf from Elfutils-&elfutils-version; Libelf diff --git a/chapter06/make.xml b/chapter06/make.xml index bf57ce74c..e2792976b 100644 --- a/chapter06/make.xml +++ b/chapter06/make.xml @@ -40,7 +40,7 @@ Installation of Make - Again, work around an error caused by glibc-2.27: + Again, work around an error caused by glibc-2.27 and later: sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c Prepare Make for compilation: -- cgit v1.2.3-54-g00ecf