From 5eef6c6c5a511e1420e023242c9331396a69dfab Mon Sep 17 00:00:00 2001 From: Romain Claret Date: Thu, 10 Mar 2016 13:14:07 +0100 Subject: [PATCH] / checked and fixed up to 6.44 + errors checker for chapter 6 / cosmetics --- 5.10-lfs_gcc-5.2.0-pass-2.sh | 2 +- 5.11-lfs_tcl-core-8.6.4.sh | 2 +- 5.12-lfs_expect-5.45.sh | 2 +- 5.13-lfs_dejagnu-1.5.3.sh | 2 +- 5.14-lfs_check-0.10.0.sh | 2 +- 5.15-lfs_ncurses-6.0.sh | 2 +- 5.16-lfs_bash-4.3.30.sh | 2 +- 5.17-lfs_bzip2-1.0.6.sh | 2 +- 5.18-lfs_coreutils-8.24.sh | 2 +- 5.19-lfs_diffutils-3.3.sh | 2 +- 5.20-lfs_file-5.24.sh | 2 +- 5.21-lfs_findutils-4.4.2.sh | 2 +- 5.22-lfs_gawk-4.1.3.sh | 2 +- 5.23-lfs_gettext-0.19.5.1.sh | 2 +- 5.24-lfs_grep-2.21.sh | 2 +- 5.25-lfs_gzip-1.6.sh | 2 +- 5.26-lfs_m4-1.4.17.sh | 2 +- 5.27-lfs_make-4.1.sh | 2 +- 5.28-lfs_patch-2.7.5.sh | 2 +- 5.29-lfs_perl-5.22.0.sh | 2 +- 5.30-lfs_sed-4.2.2.sh | 2 +- 5.31-lfs_tar-1.28.sh | 2 +- 5.32-lfs_texinfo-6.0.sh | 2 +- 5.33-lfs_util-linux-2.27.sh | 2 +- 5.34-lfs_xz-5.2.1.sh | 2 +- 5.35-lfs_stripping.sh | 2 +- 5.4-lfs_binutils-2.25.1-pass-1.sh | 2 +- 5.5-lfs_gcc-5.2.0-pass-1.sh | 2 +- 5.6-lfs_linux-4.2-api-headers.sh | 2 +- 5.7-lfs_glibc-2.22.sh | 2 +- 5.8-lfs_libstdcpp-5.2.0.sh | 2 +- 5.9-lfs_binutils-2.25.1-pass-2.sh | 2 +- 5.all-lfs_construct-tools.sh | 11 +++++ 6.10-chroot_toolchain.sh | 1 + 6.11-chroot_zlib.sh | 1 + 6.12-chroot_file.sh | 1 + 6.13-chroot_binutils.sh | 1 + 6.14-chroot_gmp.sh | 1 + 6.15-chroot_mpfr.sh | 1 + 6.16-chroot_mpc.sh | 1 + 6.17-chroot_gcc.sh | 1 + 6.18-chroot_bzip2.sh | 1 + 6.19-chroot_pkg-config.sh | 1 + 6.2-root_preparing-virtual-kernel.sh | 2 + 6.20-chroot_ncurses.sh | 1 + 6.21-chroot_attr.sh | 1 + 6.22-chroot_acl.sh | 1 + 6.23-chroot_libcap.sh | 1 + 6.24-chroot_sed.sh | 1 + 6.25-chroot_shadow.sh | 1 + 6.26-chroot_psmisc.sh | 1 + 6.27-chroot_procps-ng.sh | 1 + 6.28-chroot_e2fsprogs.sh | 1 + 6.29-chroot_coreutils.sh | 1 + 6.30-chroot_iana-etc.sh | 1 + 6.31-chroot_m4.sh | 1 + 6.32-chroot_flex.sh | 1 + 6.33-chroot_bison.sh | 1 + 6.34-chroot_grep.sh | 1 + 6.35-chroot_readline.sh | 1 + 6.36-chroot_bash.sh | 7 ++-- 6.37-chroot_bc.sh | 9 ++-- 6.38-chroot_libtool.sh | 7 ++-- 6.39-chroot_gdbm.sh | 9 ++-- 6.40-chroot_expat.sh | 9 ++-- 6.41-chroot_inetutils.sh | 7 ++-- 6.42-chroot_perl.sh | 7 ++-- 6.43-chroot_xml-parser.sh | 9 ++-- 6.44-chroot_autoconf.sh | 7 ++-- 6.45-chroot_automake.sh | 1 + 6.46-chroot_diffutils.sh | 1 + 6.47-chroot_gawk.sh | 1 + 6.48-chroot_findutils.sh | 1 + 6.49-chroot_gettext.sh | 1 + 6.50-chroot_intltool.sh | 1 + 6.51-chroot_gperf.sh | 1 + 6.52-chroot_groff.sh | 1 + 6.53-chroot_xz.sh | 1 + 6.54-chroot_grub.sh | 1 + 6.55-chroot_less.sh | 1 + 6.56-chroot_gzip.sh | 1 + 6.57-chroot_iproute2.sh | 1 + 6.58-chroot_kbd.sh | 1 + 6.59-chroot_kmod.sh | 1 + 6.6-chroot_essentials.sh | 2 + 6.60-chroot_libpipeline.sh | 1 + 6.61-chroot_make.sh | 1 + 6.62-chroot_patch.sh | 1 + 6.63-chroot_sysklogd.sh | 1 + 6.64-chroot_sysvinit.sh | 1 + 6.65-chroot_tar.sh | 1 + 6.66-chroot_texinfo.sh | 1 + 6.67-chroot_eudev.sh | 1 + 6.68-chroot_util-linux.sh | 1 + 6.69-chroot_man-db.sh | 1 + 6.7-chroot_api-headers.sh | 1 + 6.70-chroot_vim.sh | 1 + 6.8-chroot_man-pages.sh | 1 + 6.9-chroot_glibc.sh | 1 + 6.all-part-1-root_installing-basic-system.sh | 2 +- ...l-part-2-chroot_installing-basic-system.sh | 13 +++++- script-all_commun-functions.sh | 42 ++++++++++++++++++- script-all_commun-variables.sh | 1 + 103 files changed, 197 insertions(+), 66 deletions(-) diff --git a/5.10-lfs_gcc-5.2.0-pass-2.sh b/5.10-lfs_gcc-5.2.0-pass-2.sh index 69b9972..46d4699 100644 --- a/5.10-lfs_gcc-5.2.0-pass-2.sh +++ b/5.10-lfs_gcc-5.2.0-pass-2.sh @@ -110,7 +110,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo 'int main(){}' > dummy.c cc dummy.c diff --git a/5.11-lfs_tcl-core-8.6.4.sh b/5.11-lfs_tcl-core-8.6.4.sh index 7f5dd75..8fb6818 100644 --- a/5.11-lfs_tcl-core-8.6.4.sh +++ b/5.11-lfs_tcl-core-8.6.4.sh @@ -79,7 +79,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.12-lfs_expect-5.45.sh b/5.12-lfs_expect-5.45.sh index 4079f2e..4ca0ab5 100644 --- a/5.12-lfs_expect-5.45.sh +++ b/5.12-lfs_expect-5.45.sh @@ -79,7 +79,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.13-lfs_dejagnu-1.5.3.sh b/5.13-lfs_dejagnu-1.5.3.sh index 301d9d7..63d99ee 100644 --- a/5.13-lfs_dejagnu-1.5.3.sh +++ b/5.13-lfs_dejagnu-1.5.3.sh @@ -70,7 +70,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.14-lfs_check-0.10.0.sh b/5.14-lfs_check-0.10.0.sh index eb36291..4416923 100644 --- a/5.14-lfs_check-0.10.0.sh +++ b/5.14-lfs_check-0.10.0.sh @@ -70,7 +70,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.15-lfs_ncurses-6.0.sh b/5.15-lfs_ncurses-6.0.sh index 538a48e..2f47fb2 100644 --- a/5.15-lfs_ncurses-6.0.sh +++ b/5.15-lfs_ncurses-6.0.sh @@ -78,7 +78,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.16-lfs_bash-4.3.30.sh b/5.16-lfs_bash-4.3.30.sh index 26a7456..af8438d 100644 --- a/5.16-lfs_bash-4.3.30.sh +++ b/5.16-lfs_bash-4.3.30.sh @@ -77,7 +77,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.17-lfs_bzip2-1.0.6.sh b/5.17-lfs_bzip2-1.0.6.sh index 6d2fd62..c301241 100644 --- a/5.17-lfs_bzip2-1.0.6.sh +++ b/5.17-lfs_bzip2-1.0.6.sh @@ -65,7 +65,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.18-lfs_coreutils-8.24.sh b/5.18-lfs_coreutils-8.24.sh index 15e58ca..fa0e1ee 100644 --- a/5.18-lfs_coreutils-8.24.sh +++ b/5.18-lfs_coreutils-8.24.sh @@ -74,7 +74,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.19-lfs_diffutils-3.3.sh b/5.19-lfs_diffutils-3.3.sh index 70887d4..d87428f 100644 --- a/5.19-lfs_diffutils-3.3.sh +++ b/5.19-lfs_diffutils-3.3.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.20-lfs_file-5.24.sh b/5.20-lfs_file-5.24.sh index 3207b51..0d0cf20 100644 --- a/5.20-lfs_file-5.24.sh +++ b/5.20-lfs_file-5.24.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.21-lfs_findutils-4.4.2.sh b/5.21-lfs_findutils-4.4.2.sh index 4501aea..7d98258 100644 --- a/5.21-lfs_findutils-4.4.2.sh +++ b/5.21-lfs_findutils-4.4.2.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.22-lfs_gawk-4.1.3.sh b/5.22-lfs_gawk-4.1.3.sh index c267311..09f74b5 100644 --- a/5.22-lfs_gawk-4.1.3.sh +++ b/5.22-lfs_gawk-4.1.3.sh @@ -70,7 +70,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.23-lfs_gettext-0.19.5.1.sh b/5.23-lfs_gettext-0.19.5.1.sh index d6d4113..5149903 100644 --- a/5.23-lfs_gettext-0.19.5.1.sh +++ b/5.23-lfs_gettext-0.19.5.1.sh @@ -78,7 +78,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.24-lfs_grep-2.21.sh b/5.24-lfs_grep-2.21.sh index f11ee4d..d968bab 100644 --- a/5.24-lfs_grep-2.21.sh +++ b/5.24-lfs_grep-2.21.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.25-lfs_gzip-1.6.sh b/5.25-lfs_gzip-1.6.sh index b604ed7..194daae 100644 --- a/5.25-lfs_gzip-1.6.sh +++ b/5.25-lfs_gzip-1.6.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.26-lfs_m4-1.4.17.sh b/5.26-lfs_m4-1.4.17.sh index 2448701..d721830 100644 --- a/5.26-lfs_m4-1.4.17.sh +++ b/5.26-lfs_m4-1.4.17.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.27-lfs_make-4.1.sh b/5.27-lfs_make-4.1.sh index 60ba507..0629224 100644 --- a/5.27-lfs_make-4.1.sh +++ b/5.27-lfs_make-4.1.sh @@ -74,7 +74,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.28-lfs_patch-2.7.5.sh b/5.28-lfs_patch-2.7.5.sh index b59e670..9e0f66c 100644 --- a/5.28-lfs_patch-2.7.5.sh +++ b/5.28-lfs_patch-2.7.5.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.29-lfs_perl-5.22.0.sh b/5.29-lfs_perl-5.22.0.sh index b5fbfe3..bf488da 100644 --- a/5.29-lfs_perl-5.22.0.sh +++ b/5.29-lfs_perl-5.22.0.sh @@ -74,7 +74,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.30-lfs_sed-4.2.2.sh b/5.30-lfs_sed-4.2.2.sh index f45283b..4c8bd26 100644 --- a/5.30-lfs_sed-4.2.2.sh +++ b/5.30-lfs_sed-4.2.2.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.31-lfs_tar-1.28.sh b/5.31-lfs_tar-1.28.sh index 6490f64..535e227 100644 --- a/5.31-lfs_tar-1.28.sh +++ b/5.31-lfs_tar-1.28.sh @@ -70,7 +70,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.32-lfs_texinfo-6.0.sh b/5.32-lfs_texinfo-6.0.sh index 779d13b..01249ba 100644 --- a/5.32-lfs_texinfo-6.0.sh +++ b/5.32-lfs_texinfo-6.0.sh @@ -73,7 +73,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.33-lfs_util-linux-2.27.sh b/5.33-lfs_util-linux-2.27.sh index f20cdec..f224a3c 100644 --- a/5.33-lfs_util-linux-2.27.sh +++ b/5.33-lfs_util-linux-2.27.sh @@ -74,7 +74,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.34-lfs_xz-5.2.1.sh b/5.34-lfs_xz-5.2.1.sh index 28c5764..d0e91bf 100644 --- a/5.34-lfs_xz-5.2.1.sh +++ b/5.34-lfs_xz-5.2.1.sh @@ -75,7 +75,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.35-lfs_stripping.sh b/5.35-lfs_stripping.sh index 3cc0d4a..53c5e0a 100644 --- a/5.35-lfs_stripping.sh +++ b/5.35-lfs_stripping.sh @@ -59,7 +59,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" diff --git a/5.4-lfs_binutils-2.25.1-pass-1.sh b/5.4-lfs_binutils-2.25.1-pass-1.sh index cf9609c..1a6dc6f 100644 --- a/5.4-lfs_binutils-2.25.1-pass-1.sh +++ b/5.4-lfs_binutils-2.25.1-pass-1.sh @@ -85,7 +85,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.5-lfs_gcc-5.2.0-pass-1.sh b/5.5-lfs_gcc-5.2.0-pass-1.sh index 589d019..410dc8e 100644 --- a/5.5-lfs_gcc-5.2.0-pass-1.sh +++ b/5.5-lfs_gcc-5.2.0-pass-1.sh @@ -116,7 +116,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.6-lfs_linux-4.2-api-headers.sh b/5.6-lfs_linux-4.2-api-headers.sh index 99d298b..d52e4c2 100644 --- a/5.6-lfs_linux-4.2-api-headers.sh +++ b/5.6-lfs_linux-4.2-api-headers.sh @@ -68,7 +68,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.7-lfs_glibc-2.22.sh b/5.7-lfs_glibc-2.22.sh index dea97e0..06e7e91 100644 --- a/5.7-lfs_glibc-2.22.sh +++ b/5.7-lfs_glibc-2.22.sh @@ -85,7 +85,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo 'int main(){}' > dummy.c diff --git a/5.8-lfs_libstdcpp-5.2.0.sh b/5.8-lfs_libstdcpp-5.2.0.sh index 1da3f49..231f9f0 100644 --- a/5.8-lfs_libstdcpp-5.2.0.sh +++ b/5.8-lfs_libstdcpp-5.2.0.sh @@ -80,7 +80,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.9-lfs_binutils-2.25.1-pass-2.sh b/5.9-lfs_binutils-2.25.1-pass-2.sh index 0c42295..b71658d 100644 --- a/5.9-lfs_binutils-2.25.1-pass-2.sh +++ b/5.9-lfs_binutils-2.25.1-pass-2.sh @@ -91,7 +91,7 @@ cd $LFS_MOUNT_SOURCES [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d $LFS_MOUNT_SOURCES/$INSTALL_NAME*/) rm -rf $BUILD_DIRECTORY -get_build_errors +get_build_errors_5 echo "" echo "######### END OF CHAPTER 5.$CHAPTER_SECTION ########" diff --git a/5.all-lfs_construct-tools.sh b/5.all-lfs_construct-tools.sh index 1e6c54a..ad63987 100644 --- a/5.all-lfs_construct-tools.sh +++ b/5.all-lfs_construct-tools.sh @@ -28,6 +28,17 @@ echo "... Validating the environment" check_partitions is_user lfs +echo "" +echo "READ CAREFULLY" +echo "Running this script will be long, ~2h" +echo "The compilation time is ~1h30m in the best cases." +echo "But note that you will be required during some of the steps." +echo "When steps are required from you, the terminal will produce a sound. But check often, in case you didn't hear it." +echo "" +echo -e "\a" +read -p "Enter to confirm" -n 1 -r +echo "" + ./5.3-lfs_check-tools.sh ./5.4-lfs_binutils-2.25.1-pass-1.sh ./5.5-lfs_gcc-5.2.0-pass-1.sh diff --git a/6.10-chroot_toolchain.sh b/6.10-chroot_toolchain.sh index 94234b7..18e1410 100644 --- a/6.10-chroot_toolchain.sh +++ b/6.10-chroot_toolchain.sh @@ -146,6 +146,7 @@ time { echo "" echo "... Cleaning up $SOURCE_FILE_NAME" rm -v dummy.c a.out dummy.log +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.11-chroot_zlib.sh b/6.11-chroot_zlib.sh index 6a187ed..7cffd94 100644 --- a/6.11-chroot_zlib.sh +++ b/6.11-chroot_zlib.sh @@ -73,6 +73,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.12-chroot_file.sh b/6.12-chroot_file.sh index 43ad879..c8e3a5b 100644 --- a/6.12-chroot_file.sh +++ b/6.12-chroot_file.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.13-chroot_binutils.sh b/6.13-chroot_binutils.sh index 8b56964..9163118 100644 --- a/6.13-chroot_binutils.sh +++ b/6.13-chroot_binutils.sh @@ -83,6 +83,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.14-chroot_gmp.sh b/6.14-chroot_gmp.sh index 1f61cab..af26c10 100644 --- a/6.14-chroot_gmp.sh +++ b/6.14-chroot_gmp.sh @@ -87,6 +87,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.15-chroot_mpfr.sh b/6.15-chroot_mpfr.sh index b4f635d..5189fc1 100644 --- a/6.15-chroot_mpfr.sh +++ b/6.15-chroot_mpfr.sh @@ -81,6 +81,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.16-chroot_mpc.sh b/6.16-chroot_mpc.sh index fbaf0d7..66c2d38 100644 --- a/6.16-chroot_mpc.sh +++ b/6.16-chroot_mpc.sh @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.17-chroot_gcc.sh b/6.17-chroot_gcc.sh index 09e565a..9ff14b4 100644 --- a/6.17-chroot_gcc.sh +++ b/6.17-chroot_gcc.sh @@ -194,6 +194,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.18-chroot_bzip2.sh b/6.18-chroot_bzip2.sh index 02acff2..9dbc1f6 100644 --- a/6.18-chroot_bzip2.sh +++ b/6.18-chroot_bzip2.sh @@ -76,6 +76,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.19-chroot_pkg-config.sh b/6.19-chroot_pkg-config.sh index 70d94a6..7ee73b1 100644 --- a/6.19-chroot_pkg-config.sh +++ b/6.19-chroot_pkg-config.sh @@ -72,6 +72,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.2-root_preparing-virtual-kernel.sh b/6.2-root_preparing-virtual-kernel.sh index ed55854..dad6fd2 100644 --- a/6.2-root_preparing-virtual-kernel.sh +++ b/6.2-root_preparing-virtual-kernel.sh @@ -59,6 +59,8 @@ if [ -h $LFS_MOUNT/dev/shm ]; then mkdir -pv $LFS_MOUNT/$(readlink $LFS_MOUNT/dev/shm) &>> $LOG_FILE fi +get_build_errors_mnt_lfs + echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" diff --git a/6.20-chroot_ncurses.sh b/6.20-chroot_ncurses.sh index 448d5d9..d7ff8d4 100644 --- a/6.20-chroot_ncurses.sh +++ b/6.20-chroot_ncurses.sh @@ -92,6 +92,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.21-chroot_attr.sh b/6.21-chroot_attr.sh index 47110d1..a699ac4 100644 --- a/6.21-chroot_attr.sh +++ b/6.21-chroot_attr.sh @@ -80,6 +80,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.22-chroot_acl.sh b/6.22-chroot_acl.sh index 985c163..3659ecf 100644 --- a/6.22-chroot_acl.sh +++ b/6.22-chroot_acl.sh @@ -79,6 +79,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.23-chroot_libcap.sh b/6.23-chroot_libcap.sh index 3850088..beb7358 100644 --- a/6.23-chroot_libcap.sh +++ b/6.23-chroot_libcap.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.24-chroot_sed.sh b/6.24-chroot_sed.sh index ed315bb..47325b4 100644 --- a/6.24-chroot_sed.sh +++ b/6.24-chroot_sed.sh @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.25-chroot_shadow.sh b/6.25-chroot_shadow.sh index 0fdbf56..3863f5c 100644 --- a/6.25-chroot_shadow.sh +++ b/6.25-chroot_shadow.sh @@ -80,6 +80,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.26-chroot_psmisc.sh b/6.26-chroot_psmisc.sh index bbf2922..0584519 100644 --- a/6.26-chroot_psmisc.sh +++ b/6.26-chroot_psmisc.sh @@ -70,6 +70,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.27-chroot_procps-ng.sh b/6.27-chroot_procps-ng.sh index d7d755d..276b08e 100644 --- a/6.27-chroot_procps-ng.sh +++ b/6.27-chroot_procps-ng.sh @@ -79,6 +79,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.28-chroot_e2fsprogs.sh b/6.28-chroot_e2fsprogs.sh index 867915b..68f68c5 100644 --- a/6.28-chroot_e2fsprogs.sh +++ b/6.28-chroot_e2fsprogs.sh @@ -92,6 +92,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.29-chroot_coreutils.sh b/6.29-chroot_coreutils.sh index c140d63..cae8c57 100644 --- a/6.29-chroot_coreutils.sh +++ b/6.29-chroot_coreutils.sh @@ -87,6 +87,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.30-chroot_iana-etc.sh b/6.30-chroot_iana-etc.sh index ee48d4a..5f17344 100644 --- a/6.30-chroot_iana-etc.sh +++ b/6.30-chroot_iana-etc.sh @@ -61,6 +61,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.31-chroot_m4.sh b/6.31-chroot_m4.sh index 844a008..63d3ab1 100644 --- a/6.31-chroot_m4.sh +++ b/6.31-chroot_m4.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.32-chroot_flex.sh b/6.32-chroot_flex.sh index 52316a9..4ba5c76 100644 --- a/6.32-chroot_flex.sh +++ b/6.32-chroot_flex.sh @@ -76,6 +76,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.33-chroot_bison.sh b/6.33-chroot_bison.sh index 94c7aa9..ef91498 100644 --- a/6.33-chroot_bison.sh +++ b/6.33-chroot_bison.sh @@ -70,6 +70,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.34-chroot_grep.sh b/6.34-chroot_grep.sh index 9594f59..2f1eced 100644 --- a/6.34-chroot_grep.sh +++ b/6.34-chroot_grep.sh @@ -73,6 +73,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.35-chroot_readline.sh b/6.35-chroot_readline.sh index 73c2c3a..d44e6d4 100644 --- a/6.35-chroot_readline.sh +++ b/6.35-chroot_readline.sh @@ -82,6 +82,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.36-chroot_bash.sh b/6.36-chroot_bash.sh index c79053e..dc9d876 100644 --- a/6.36-chroot_bash.sh +++ b/6.36-chroot_bash.sh @@ -11,9 +11,9 @@ echo "### Bash-4.3.30" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 3m20.831s" +echo "### user 0m26.546s" +echo "### sys 0m5.072s" echo "### ---------------------------" echo "" @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.37-chroot_bc.sh b/6.37-chroot_bc.sh index 048c1f9..c473562 100644 --- a/6.37-chroot_bc.sh +++ b/6.37-chroot_bc.sh @@ -11,9 +11,9 @@ echo "### Bc-1.06.95" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 0m19.113s" +echo "### user 0m15.589s" +echo "### sys 0m0.780s" echo "### ---------------------------" echo "" @@ -75,12 +75,13 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" echo "### Please run the next step:" -echo "### ./6.X-lfs_empty-skeleton.sh" +echo "### ./6.38-chroot_libtool.sh" echo "" exit 0 diff --git a/6.38-chroot_libtool.sh b/6.38-chroot_libtool.sh index c370c12..398a940 100644 --- a/6.38-chroot_libtool.sh +++ b/6.38-chroot_libtool.sh @@ -11,9 +11,9 @@ echo "### Libtool-2.4.6" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 4m42.085s" +echo "### user 2m4.744s" +echo "### sys 0m28.162s" echo "### ---------------------------" echo "" @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.39-chroot_gdbm.sh b/6.39-chroot_gdbm.sh index fb18150..9d2129e 100644 --- a/6.39-chroot_gdbm.sh +++ b/6.39-chroot_gdbm.sh @@ -11,9 +11,9 @@ echo "### GDBM-1.11" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 0m13.494s" +echo "### user 0m7.188s" +echo "### sys 0m1.628s" echo "### ---------------------------" echo "" @@ -71,12 +71,13 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" echo "### Please run the next step:" -echo "### ./6.40-chroot_expat.sh.sh" +echo "### ./6.40-chroot_expat.sh" echo "" exit 0 diff --git a/6.40-chroot_expat.sh b/6.40-chroot_expat.sh index 1ea142e..3c95db7 100644 --- a/6.40-chroot_expat.sh +++ b/6.40-chroot_expat.sh @@ -11,9 +11,9 @@ echo "### Expat-2.1.0" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 0m9.042s" +echo "### user 0m6.236s" +echo "### sys 0m0.756s" echo "### ---------------------------" echo "" @@ -75,12 +75,13 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" echo "### Please run the next step:" -echo "### ./6.X-lfs_empty-skeleton.sh" +echo "### ./6.41-chroot_inetutils.sh" echo "" exit 0 diff --git a/6.41-chroot_inetutils.sh b/6.41-chroot_inetutils.sh index 1019564..21ec686 100644 --- a/6.41-chroot_inetutils.sh +++ b/6.41-chroot_inetutils.sh @@ -11,9 +11,9 @@ echo "### Inetutils-1.9.4" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 0m52.593s" +echo "### user 0m24.598s" +echo "### sys 0m8.405s" echo "### ---------------------------" echo "" @@ -84,6 +84,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.42-chroot_perl.sh b/6.42-chroot_perl.sh index b5ed889..f8aa38a 100644 --- a/6.42-chroot_perl.sh +++ b/6.42-chroot_perl.sh @@ -11,9 +11,9 @@ echo "### Perl-5.22.0" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 12m45.809s" +echo "### user 7m53.034s" +echo "### sys 0m38.658s" echo "### ---------------------------" echo "" @@ -83,6 +83,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.43-chroot_xml-parser.sh b/6.43-chroot_xml-parser.sh index 5d4b1f4..6153926 100644 --- a/6.43-chroot_xml-parser.sh +++ b/6.43-chroot_xml-parser.sh @@ -1,7 +1,7 @@ #!/tools/bin/bash CHAPTER_SECTION=43 -INSTALL_NAME=xml-parser +INSTALL_NAME=XML-Parser echo "" echo "### ---------------------------" @@ -11,9 +11,9 @@ echo "### XML::Parser-2.44" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 0m2.966s" +echo "### user 0m2.444s" +echo "### sys 0m0.300s" echo "### ---------------------------" echo "" @@ -67,6 +67,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.44-chroot_autoconf.sh b/6.44-chroot_autoconf.sh index be95d47..a67d684 100644 --- a/6.44-chroot_autoconf.sh +++ b/6.44-chroot_autoconf.sh @@ -11,9 +11,9 @@ echo "### Autoconf-2.69" echo "### Must be run as \"chroot\" user" echo "" echo "### Time estimate:" -echo "### real time" -echo "### user time" -echo "### sys time" +echo "### real 8m26.423s" +echo "### user 3m8.808s" +echo "### sys 0m51.303s" echo "### ---------------------------" echo "" @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.45-chroot_automake.sh b/6.45-chroot_automake.sh index bee55f3..d31e012 100644 --- a/6.45-chroot_automake.sh +++ b/6.45-chroot_automake.sh @@ -74,6 +74,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.46-chroot_diffutils.sh b/6.46-chroot_diffutils.sh index 2a96624..55ee742 100644 --- a/6.46-chroot_diffutils.sh +++ b/6.46-chroot_diffutils.sh @@ -72,6 +72,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.47-chroot_gawk.sh b/6.47-chroot_gawk.sh index 2b8f038..876603d 100644 --- a/6.47-chroot_gawk.sh +++ b/6.47-chroot_gawk.sh @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.48-chroot_findutils.sh b/6.48-chroot_findutils.sh index e1843a5..ace839e 100644 --- a/6.48-chroot_findutils.sh +++ b/6.48-chroot_findutils.sh @@ -74,6 +74,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.49-chroot_gettext.sh b/6.49-chroot_gettext.sh index bb81610..3e82d9a 100644 --- a/6.49-chroot_gettext.sh +++ b/6.49-chroot_gettext.sh @@ -71,6 +71,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.50-chroot_intltool.sh b/6.50-chroot_intltool.sh index 89a3eb5..4d75754 100644 --- a/6.50-chroot_intltool.sh +++ b/6.50-chroot_intltool.sh @@ -75,6 +75,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.51-chroot_gperf.sh b/6.51-chroot_gperf.sh index 8eb3a76..39a56d2 100644 --- a/6.51-chroot_gperf.sh +++ b/6.51-chroot_gperf.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.52-chroot_groff.sh b/6.52-chroot_groff.sh index 179dffe..2055235 100644 --- a/6.52-chroot_groff.sh +++ b/6.52-chroot_groff.sh @@ -66,6 +66,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.53-chroot_xz.sh b/6.53-chroot_xz.sh index dcc986f..5544dd9 100644 --- a/6.53-chroot_xz.sh +++ b/6.53-chroot_xz.sh @@ -76,6 +76,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.54-chroot_grub.sh b/6.54-chroot_grub.sh index 8bbd9d3..7841208 100644 --- a/6.54-chroot_grub.sh +++ b/6.54-chroot_grub.sh @@ -75,6 +75,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.55-chroot_less.sh b/6.55-chroot_less.sh index 257db06..e53e378 100644 --- a/6.55-chroot_less.sh +++ b/6.55-chroot_less.sh @@ -67,6 +67,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.56-chroot_gzip.sh b/6.56-chroot_gzip.sh index 7bdc813..bc662b1 100644 --- a/6.56-chroot_gzip.sh +++ b/6.56-chroot_gzip.sh @@ -74,6 +74,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.57-chroot_iproute2.sh b/6.57-chroot_iproute2.sh index a6eeeb8..e948a9e 100644 --- a/6.57-chroot_iproute2.sh +++ b/6.57-chroot_iproute2.sh @@ -66,6 +66,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.58-chroot_kbd.sh b/6.58-chroot_kbd.sh index 86bcb00..65a33e0 100644 --- a/6.58-chroot_kbd.sh +++ b/6.58-chroot_kbd.sh @@ -79,6 +79,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.59-chroot_kmod.sh b/6.59-chroot_kmod.sh index e827e9b..9f0b51f 100644 --- a/6.59-chroot_kmod.sh +++ b/6.59-chroot_kmod.sh @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.6-chroot_essentials.sh b/6.6-chroot_essentials.sh index 9b8196a..920ea44 100644 --- a/6.6-chroot_essentials.sh +++ b/6.6-chroot_essentials.sh @@ -81,6 +81,8 @@ nogroup:x:99: users:x:999: EOF +get_build_errors_6 + echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" echo "///// HUMAN REQUIRED \\\\\\\\\\\\\\\\\\\\" diff --git a/6.60-chroot_libpipeline.sh b/6.60-chroot_libpipeline.sh index f6f03ff..9e77bd1 100644 --- a/6.60-chroot_libpipeline.sh +++ b/6.60-chroot_libpipeline.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.61-chroot_make.sh b/6.61-chroot_make.sh index 7085329..83f6fd7 100644 --- a/6.61-chroot_make.sh +++ b/6.61-chroot_make.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.62-chroot_patch.sh b/6.62-chroot_patch.sh index 3082f29..ca01650 100644 --- a/6.62-chroot_patch.sh +++ b/6.62-chroot_patch.sh @@ -69,6 +69,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.63-chroot_sysklogd.sh b/6.63-chroot_sysklogd.sh index 2783dc3..1fddd55 100644 --- a/6.63-chroot_sysklogd.sh +++ b/6.63-chroot_sysklogd.sh @@ -77,6 +77,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.64-chroot_sysvinit.sh b/6.64-chroot_sysvinit.sh index c13802d..f3c1314 100644 --- a/6.64-chroot_sysvinit.sh +++ b/6.64-chroot_sysvinit.sh @@ -65,6 +65,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.65-chroot_tar.sh b/6.65-chroot_tar.sh index ca512d5..dbe1187 100644 --- a/6.65-chroot_tar.sh +++ b/6.65-chroot_tar.sh @@ -73,6 +73,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.66-chroot_texinfo.sh b/6.66-chroot_texinfo.sh index 5de8dd5..98675b6 100644 --- a/6.66-chroot_texinfo.sh +++ b/6.66-chroot_texinfo.sh @@ -78,6 +78,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.67-chroot_eudev.sh b/6.67-chroot_eudev.sh index 86bee4c..7e9976c 100644 --- a/6.67-chroot_eudev.sh +++ b/6.67-chroot_eudev.sh @@ -99,6 +99,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.68-chroot_util-linux.sh b/6.68-chroot_util-linux.sh index 30c65df..4e00a91 100644 --- a/6.68-chroot_util-linux.sh +++ b/6.68-chroot_util-linux.sh @@ -85,6 +85,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.69-chroot_man-db.sh b/6.69-chroot_man-db.sh index 0197735..4de481e 100644 --- a/6.69-chroot_man-db.sh +++ b/6.69-chroot_man-db.sh @@ -75,6 +75,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.7-chroot_api-headers.sh b/6.7-chroot_api-headers.sh index 435405a..557d0f0 100644 --- a/6.7-chroot_api-headers.sh +++ b/6.7-chroot_api-headers.sh @@ -71,6 +71,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.70-chroot_vim.sh b/6.70-chroot_vim.sh index 405ed93..fc29e7c 100644 --- a/6.70-chroot_vim.sh +++ b/6.70-chroot_vim.sh @@ -89,6 +89,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.8-chroot_man-pages.sh b/6.8-chroot_man-pages.sh index 3b828b1..53bb6f9 100644 --- a/6.8-chroot_man-pages.sh +++ b/6.8-chroot_man-pages.sh @@ -57,6 +57,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.9-chroot_glibc.sh b/6.9-chroot_glibc.sh index 939013b..51b899c 100644 --- a/6.9-chroot_glibc.sh +++ b/6.9-chroot_glibc.sh @@ -154,6 +154,7 @@ echo "" echo "... Cleaning up $SOURCE_FILE_NAME" cd /sources [ ! $SHOULD_NOT_CLEAN ] && rm -rf $(ls -d /sources/$INSTALL_NAME*/) +get_build_errors_6 echo "" echo "######### END OF CHAPTER 6.$CHAPTER_SECTION ########" diff --git a/6.all-part-1-root_installing-basic-system.sh b/6.all-part-1-root_installing-basic-system.sh index 5e636d7..2b6ff29 100644 --- a/6.all-part-1-root_installing-basic-system.sh +++ b/6.all-part-1-root_installing-basic-system.sh @@ -5,7 +5,7 @@ echo "### -------------------------------" echo "### INSTALLING BASIC SYSTEM ###" echo "### CHAPTER 6.all ###" echo "### Installing Basic System Software" -echo "### Must be run as \"lfs\" user" +echo "### Must be run as \"root\" user" echo "### -------------------------------" echo "" diff --git a/6.all-part-2-chroot_installing-basic-system.sh b/6.all-part-2-chroot_installing-basic-system.sh index 126bff9..12f87a4 100644 --- a/6.all-part-2-chroot_installing-basic-system.sh +++ b/6.all-part-2-chroot_installing-basic-system.sh @@ -5,7 +5,7 @@ echo "### -------------------------------" echo "### INSTALLING BASIC SYSTEM ###" echo "### CHAPTER 6.all ###" echo "### Installing Basic System Software" -echo "### Must be run as \"lfs\" user" +echo "### Must be run as \"chroot\" user" echo "### -------------------------------" echo "" @@ -28,6 +28,17 @@ echo "" echo "... Validating the environment" check_chroot +echo "" +echo "READ CAREFULLY" +echo "Running this script will be long, ~6h" +echo "The compilation time is ~5h in the best cases." +echo "But note that you will be required during some of the steps." +echo "When steps are required from you, the terminal will produce a sound. But check often, in case you didn't hear it." +echo "" +echo -e "\a" +read -p "Enter to confirm" -n 1 -r +echo "" + ./6.5-chroot_creating-directories.sh rm -rf /root/lfs mv /tools/lfs /root/lfs diff --git a/script-all_commun-functions.sh b/script-all_commun-functions.sh index da7e3a3..566292a 100644 --- a/script-all_commun-functions.sh +++ b/script-all_commun-functions.sh @@ -223,7 +223,7 @@ function extract_tarball fi } -function get_build_errors +function get_build_errors_5 { WARNINGS_COUNTER=0 ERRORS_COUNTER=0 @@ -249,6 +249,46 @@ function get_build_errors fi } +function get_build_errors_mnt_lfs +{ + WARNINGS_COUNTER=0 + ERRORS_COUNTER=0 + + WARNINGS_COUNTER=$(grep -n " [Ww]arnings*:* " $LFS_BUILD_LOGS_MNT* | wc -l) + ERRORS_COUNTER=$(grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_MNT* | wc -l) + + if [ $ERRORS_COUNTER -ne 0 ]; then + echo "!! Error 7: $SOURCE_FILE_NAME build has $ERRORS_COUNTER errors" + grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_MNT* + echo "--> Please check on http://www.linuxfromscratch.org/lfs/build-logs for comparaison" + echo "" + echo "Known errors and not critical:" + echo "Chapter 6.X" + else + echo "---> Congrats you have no errors." + fi +} + +function get_build_errors_6 +{ + WARNINGS_COUNTER=0 + ERRORS_COUNTER=0 + + WARNINGS_COUNTER=$(grep -n " [Ww]arnings*:* " $LFS_BUILD_LOGS_6* | wc -l) + ERRORS_COUNTER=$(grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_6* | wc -l) + + if [ $ERRORS_COUNTER -ne 0 ]; then + echo "!! Error 7: $SOURCE_FILE_NAME build has $ERRORS_COUNTER errors" + grep -n " [Ee]rrors*:* \|^FAIL:" $LFS_BUILD_LOGS_6* + echo "--> Please check on http://www.linuxfromscratch.org/lfs/build-logs for comparaison" + echo "" + echo "Known errors and not critical:" + echo "Chapter 6.X" + else + echo "---> Congrats you have no errors." + fi +} + function check_chroot { if [ ! $(awk -v needle="$LFS_PARTITION_ROOT" '$1==needle {print $2}' /proc/mounts) = "/" ] ; then diff --git a/script-all_commun-variables.sh b/script-all_commun-variables.sh index 8b0f72a..d5b985c 100644 --- a/script-all_commun-variables.sh +++ b/script-all_commun-variables.sh @@ -29,6 +29,7 @@ LFS_MOUNT_SOURCES=$LFS_MOUNT/sources PROCESSOR_CORES=-j1 # 6.2 and more +LFS_BUILD_LOGS_MNT=$LFS_MOUNT/build-logs/mnt_lfs_ LFS_BUILD_LOGS_6=/build-logs/chapter_6_ # 6.9