diff --git a/chap5-6.sh b/chap5-6.sh index 6350083..d9edad4 100644 --- a/chap5-6.sh +++ b/chap5-6.sh @@ -2,7 +2,10 @@ source vars.sh -echo "5.2. ""$LFS_BINUTILS"" - Pass 1" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 5.2. ""$LFS_BINUTILS"" - Pass 1" >> build.log + tar xf "$LFS_BINUTILS".tar.xz && cd "$LFS_BINUTILS" && mkdir -v build && @@ -17,9 +20,15 @@ make && make install && cd ../.. && rm -rf "$LFS_BINUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 5.2. ""$LFS_BINUTILS"" - Pass 1" >> build.log -echo "5.3. ""$LFS_GCC"" - Pass 1" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 5.3. ""$LFS_GCC"" - Pass 1" >> build.log + tar xf "$LFS_GCC".tar.xz && cd "$LFS_GCC" && tar -xf ../"$LFS_MPFR".tar.xz && @@ -63,9 +72,15 @@ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h && cd .. && rm -rf "$LFS_GCC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 5.3. ""$LFS_GCC"" - Pass 1" >> build.log -echo "5.4. ""$LFS_LINUX"" API Headers" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 5.4. ""$LFS_LINUX"" API Headers" >> build.log + tar xf "$LFS_LINUX".tar.xz && cd "$LFS_LINUX" && make mrproper && @@ -74,10 +89,15 @@ find usr/include -type f ! -name '*.h' -delete && cp -rv usr/include $LFS/usr && cd .. && rm -rf "$LFS_LINUX" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 5.4. ""$LFS_LINUX"" API Headers" >> build.log +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 5.5. ""$LFS_GLIBC""" >> build.log -echo "5.5. ""$LFS_GLIBC""" tar xf "$LFS_GLIBC".tar.xz && cd "$LFS_GLIBC" && case $(uname -m) in @@ -110,9 +130,15 @@ rm -v a.out && $LFS/tools/libexec/gcc/$LFS_TGT/12.2.0/install-tools/mkheaders && cd ../.. && rm -rf "$LFS_GLIBC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 5.5. ""$LFS_GLIBC""" >> build.log -echo "5.6. Libstdc++ from ""$LFS_GCC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 5.6. Libstdc++ from ""$LFS_GCC""" >> build.log + tar xf "$LFS_GCC".tar.xz && cd "$LFS_GCC" && mkdir -v build && @@ -130,9 +156,15 @@ make DESTDIR=$LFS install && rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la && cd ../.. && rm -rf "$LFS_GCC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 5.6. Libstdc++ from ""$LFS_GCC""" >> build.log -echo "6.2. ""$LFS_M4""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.2. ""$LFS_M4""" >> build.log + tar xf "$LFS_M4".tar.xz && cd "$LFS_M4" && ./configure --prefix=/usr \ @@ -142,11 +174,17 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_M4" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.2. ""$LFS_M4""" >> build.log -echo '6.3. Ncurses-6.4' -tar xf ncurses-6.4.tar.gz && -cd ncurses-6.4 && +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.3. ""$LFS_NCURSES""" >> build.log + +tar xf "$LFS_NCURSES".tar.gz && +cd "$LFS_NCURSES" && sed -i s/mawk// configure && mkdir build && pushd build @@ -171,10 +209,16 @@ make && make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install && echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so && cd .. && -rm -rf ncurses-6.4 && -echo 'Finished 6.3. Ncurses-6.4' >> build.log +rm -rf "$LFS_NCURSES" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Finished 6.3. ""$LFS_NCURSES""" >> build.log + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.4. ""$LFS_BASH""" >> build.log -echo "6.4. ""$LFS_BASH""" tar xf "$LFS_BASH".tar.gz && cd "$LFS_BASH" && ./configure --prefix=/usr \ @@ -186,9 +230,15 @@ make DESTDIR=$LFS install && ln -sv bash $LFS/bin/sh && cd .. && rm -rf "$LFS_BASH" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.4. ""$LFS_BASH""" >> build.log -echo "6.5. ""$LFS_COREUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.5. ""$LFS_COREUTILS""" >> build.log + tar xf "$LFS_COREUTILS".tar.xz && cd "$LFS_COREUTILS" && ./configure --prefix=/usr \ @@ -204,9 +254,15 @@ mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8 && sed -i 's/"1"/"8"/' $LFS/usr/share/man/man8/chroot.8 && cd .. && rm -rf "$LFS_COREUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.5. ""$LFS_COREUTILS""" >> build.log -echo "6.6. "$LFS_DIFFUTILS"" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.6. ""$LFS_DIFFUTILS""" >> build.log + tar xf "$LFS_DIFFUTILS".tar.xz && cd "$LFS_DIFFUTILS" && ./configure --prefix=/usr --host=$LFS_TGT && @@ -214,9 +270,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_DIFFUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.6. ""$LFS_DIFFUTILS""" >> build.log -echo "6.7. ""$LFS_FILE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.7. ""$LFS_FILE""" >> build.log + tar xf "$LFS_FILE".tar.gz && cd "$LFS_FILE" && mkdir build && @@ -233,9 +295,15 @@ make DESTDIR=$LFS install && rm -v $LFS/usr/lib/libmagic.la && cd .. && rm -rf "$LFS_FILE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.7. ""$LFS_FILE""" >> build.log -echo "6.8. ""$LFS_FINDUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.8. ""$LFS_FINDUTILS""" >> build.log + tar xf "$LFS_FINDUTILS".tar.xz && cd "$LFS_FINDUTILS" && ./configure --prefix=/usr \ @@ -247,9 +315,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_FINDUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.8. ""$LFS_FINDUTILS""" >> build.log -echo "6.9. ""$LFS_GAWK""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.9. ""$LFS_GAWK""" >> build.log + tar xf "$LFS_GAWK".tar.xz && cd "$LFS_GAWK" && sed -i 's/extras//' Makefile.in && @@ -261,9 +335,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_GAWK" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.9. ""$LFS_GAWK""" >> build.log -echo "6.10. ""$LFS_GREP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.10. ""$LFS_GREP""" >> build.log + tar xf "$LFS_GREP".tar.xz && cd "$LFS_GREP" && ./configure --prefix=/usr \ @@ -272,9 +352,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_GREP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.10. ""$LFS_GREP""" >> build.log -echo "6.11. ""$LFS_GZIP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.11. ""$LFS_GZIP""" >> build.log + tar xf "$LFS_GZIP".tar.xz && cd "$LFS_GZIP" && ./configure --prefix=/usr --host=$LFS_TGT && @@ -282,9 +368,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_GZIP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.11. ""$LFS_GZIP""" >> build.log -echo "6.12. ""$LFS_MAKE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.12. ""$LFS_MAKE""" >> build.log + tar xf "$LFS_MAKE".tar.gz && cd "$LFS_MAKE" && sed -e '/ifdef SIGPIPE/,+2 d' \ @@ -298,9 +390,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_MAKE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.12. ""$LFS_MAKE""" >> build.log -echo "6.13. ""$LFS_PATCH""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.13. ""$LFS_PATCH""" >> build.log + tar xf "$LFS_PATCH".tar.xz && cd "$LFS_PATCH" && ./configure --prefix=/usr \ @@ -310,9 +408,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_PATCH" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.13. ""$LFS_PATCH""" >> build.log -echo "6.14. ""$LFS_SED""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.14. ""$LFS_SED""" >> build.log + tar xf "$LFS_SED".tar.xz && cd "$LFS_SED" && ./configure --prefix=/usr \ @@ -321,9 +425,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_SED" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.14. ""$LFS_SED""" >> build.log -echo "6.15. ""$LFS_TAR""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.15. ""$LFS_TAR""" >> build.log + tar xf "$LFS_TAR".tar.xz && cd "$LFS_TAR" && ./configure --prefix=/usr \ @@ -334,9 +444,15 @@ make && make DESTDIR=$LFS install && cd .. && rm -rf "$LFS_TAR" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.15. ""$LFS_TAR""" >> build.log -echo "6.16. ""$LFS_XZ""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.16. ""$LFS_XZ""" >> build.log + tar xf "$LFS_XZ".tar.xz && cd "$LFS_XZ" && ./configure --prefix=/usr \ @@ -350,9 +466,15 @@ make DESTDIR=$LFS install && rm -v $LFS/usr/lib/liblzma.la && cd .. && rm -rf "$LFS_XZ" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.16. ""$LFS_XZ""" >> build.log -echo "6.17. ""$LFS_BINUTILS"" - Pass 2" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.17. ""$LFS_BINUTILS"" - Pass 2" >> build.log + tar xf "$LFS_BINUTILS".tar.xz && cd "$LFS_BINUTILS" && sed '6009s/$add_dir//' -i ltmain.sh && @@ -372,9 +494,15 @@ make DESTDIR=$LFS install && rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.{a,la} && cd ../.. && rm -rf "$LFS_BINUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.17. ""$LFS_BINUTILS"" - Pass 2" >> build.log -echo "6.18. ""$LFS_GCC"" - Pass 2" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 6.18. ""$LFS_GCC"" - Pass 2" >> build.log + tar xf "$LFS_GCC".tar.xz && cd "$LFS_GCC" && tar -xf ../"$LFS_MPFR".tar.xz && @@ -414,6 +542,9 @@ make DESTDIR=$LFS install && ln -sv gcc $LFS/usr/bin/cc && cd ../.. && rm -rf "$LFS_GCC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 6.18. ""$LFS_GCC"" - Pass 2" >> build.log echo "Enter the chroot environment as the root user:" diff --git a/chap7p2.sh b/chap7p2.sh index d80e38b..b6440b4 100644 --- a/chap7p2.sh +++ b/chap7p2.sh @@ -9,7 +9,10 @@ chmod -v 600 /var/log/btmp && cd /sources && chown root:root build.log && -echo "7.7. ""$LFS_GETTEXT""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.7. ""$LFS_GETTEXT""" >> build.log + tar xf "$LFS_GETTEXT".tar.xz && cd "$LFS_GETTEXT" && ./configure --disable-shared && @@ -17,9 +20,15 @@ make && cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /usr/bin && cd .. && rm -rf "$LFS_GETTEXT" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.7. ""$LFS_GETTEXT""" >> build.log -echo "7.8 ""$LFS_BISON""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.8 ""$LFS_BISON""" >> build.log + tar xf "$LFS_BISON".tar.xz && cd "$LFS_BISON" && ./configure --prefix=/usr \ @@ -28,9 +37,15 @@ make && make install && cd .. && rm -rf "$LFS_BISON" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.8 ""$LFS_BISON""" >> build.log -echo "7.9 ""$LFS_PERL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.9 ""$LFS_PERL""" >> build.log + tar xf "$LFS_PERL".tar.xz && cd "$LFS_PERL" && sh Configure -des \ @@ -46,9 +61,15 @@ make && make install && cd .. && rm -rf "$LFS_PERL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.9 ""$LFS_PERL""" >> build.log -echo "7.10 ""$LFS_PYTHON""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.10 ""$LFS_PYTHON""" >> build.log + tar xf "$LFS_PYTHON".tar.xz && cd "$LFS_PYTHON" && ./configure --prefix=/usr \ @@ -58,9 +79,15 @@ make && make install && cd .. && rm -rf "$LFS_PYTHON" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.10 ""$LFS_PYTHON""" >> build.log -echo "7.11 ""$LFS_TEXINFO""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.11 ""$LFS_TEXINFO""" >> build.log + tar xf "$LFS_TEXINFO".tar.xz && cd "$LFS_TEXINFO" && ./configure --prefix=/usr && @@ -68,9 +95,15 @@ make && make install && cd .. && rm -rf "$LFS_TEXINFO" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.11 ""$LFS_TEXINFO""" >> build.log -echo "7.12 ""$LFS_UTILLINUX""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 7.12 ""$LFS_UTILLINUX""" >> build.log + tar xf "$LFS_UTILLINUX".tar.xz && cd "$LFS_UTILLINUX" && mkdir -pv /var/lib/hwclock && @@ -91,6 +124,9 @@ make && make install && cd .. && rm -rf "$LFS_UTILLINUX" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 7.12 ""$LFS_UTILLINUX""" >> build.log rm -rf /usr/share/{info,man,doc}/* && diff --git a/chap8p1.sh b/chap8p1.sh index 5fe4830..d72fbfd 100644 --- a/chap8p1.sh +++ b/chap8p1.sh @@ -2,25 +2,40 @@ source vars.sh -echo "8.3 ""$LFS_MANPAGES""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.3 ""$LFS_MANPAGES""" >> build.log + tar xf "$LFS_MANPAGES".tar.xz && cd "$LFS_MANPAGES" && make prefix=/usr install && cd .. && rm -rf "$LFS_MANPAGES" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.3 ""$LFS_MANPAGES""" >> build.log && echo "$LFS_MANPAGES" >> /installed.txt -echo "8.4 ""$LFS_IANAETC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.4 ""$LFS_IANAETC""" >> build.log + tar xf "$LFS_IANAETC".tar.gz && cd "$LFS_IANAETC" && cp services protocols /etc && cd .. && rm -rf "$LFS_IANAETC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.4 ""$LFS_IANAETC""" >> build.log echo "$LFS_IANAETC" >> /installed.txt -echo "8.5 ""$LFS_GLIBC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.5 ""$LFS_GLIBC""" >> build.log + tar xf "$LFS_GLIBC".tar.xz && cd "$LFS_GLIBC" && patch -Np1 -i ../glibc-2.37-fhs-1.patch && @@ -92,10 +107,16 @@ EOF mkdir -pv /etc/ld.so.conf.d && cd ../.. && rm -rf "$LFS_GLIBC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.5 ""$LFS_GLIBC""" >> build.log && echo "$LFS_GLIBC" >> /installed.txt -echo "8.6 ""$LFS_ZLIB""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.6 ""$LFS_ZLIB""" >> build.log + tar xf "$LFS_ZLIB".tar.xz && cd "$LFS_ZLIB" && ./configure --prefix=/usr && @@ -105,10 +126,16 @@ make install && rm -fv /usr/lib/libz.a && cd .. && rm -rf "$LFS_ZLIB" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.6 ""$LFS_ZLIB""" >> build.log && echo "$LFS_ZLIB" >> /installed.txt -echo "8.7 ""$LFS_BZIP2""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.7 ""$LFS_BZIP2""" >> build.log + tar xf "$LFS_BZIP2".tar.gz && cd "$LFS_BZIP2" && patch -Np1 -i ../bzip2-1.0.8-install_docs-1.patch && @@ -127,10 +154,16 @@ done && rm -fv /usr/lib/libbz2.a && cd .. && rm -rf "$LFS_BZIP2" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.7 ""$LFS_BZIP2""" >> build.log && echo "$LFS_BZIP2" >> /installed.txt -echo "8.8 ""$LFS_XZ""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.8 ""$LFS_XZ""" >> build.log + tar xf "$LFS_XZ".tar.xz && cd "$LFS_XZ" && ./configure --prefix=/usr \ @@ -141,10 +174,16 @@ make check | tee ../check-log_"$LFS_XZ".log; make install && cd .. && rm -rf "LFS_XZ" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.8 ""$LFS_XZ""" >> build.log && echo "$LFS_XZ" >> /installed.txt -echo "8.9 ""$LFS_ZSTD""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.9 ""$LFS_ZSTD""" >> build.log + tar xf "$LFS_ZSTD".tar.gz && cd "$LFS_ZSTD" && make prefix=/usr && @@ -153,10 +192,16 @@ make prefix=/usr install && rm -v /usr/lib/libzstd.a && cd .. && rm -rf "$LFS_ZSTD" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.9 ""$LFS_ZSTD""" >> build.log && echo "$LFS_ZSTD" >> /installed.txt -echo "8.10 ""$LFS_FILE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.10 ""$LFS_FILE""" >> build.log + tar xf "$LFS_FILE".tar.gz && cd "$LFS_FILE" && ./configure --prefix=/usr && @@ -165,10 +210,16 @@ make check | tee ../check-log_"$LFS_FILE".log; make install && cd .. && rm -rf "$LFS_FILE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.10 ""$LFS_FILE""" >> build.log && echo "$LFS_FILE" >> /installed.txt -echo "8.11 ""$LFS_READLINE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.11 ""$LFS_READLINE""" >> build.log + tar xf "$LFS_READLINE".tar.gz && cd "$LFS_READLINE" && sed -i '/MV.*old/d' Makefile.in && @@ -183,10 +234,16 @@ make SHLIB_LIBS="-lncursesw" install && install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-8.2 && cd .. && rm -rf "$LFS_READLINE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.11 ""$LFS_READLINE""" >> build.log && echo "$LFS_READLINE" >> /installed.txt -echo "8.12 ""$LFS_M4""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.12 ""$LFS_M4""" >> build.log + tar xf "$LFS_M4".tar.xz && cd "$LFS_M4" && ./configure --prefix=/usr && @@ -195,10 +252,16 @@ make check | tee ../check-log_"$LFS_M4".log; make install && cd .. && rm -rf "$LFS_M4" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.12 ""$LFS_M4""" >> build.log && echo "$LFS_M4" >> /installed.txt -echo "8.13 ""$LFS_BC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.13 ""$LFS_BC""" >> build.log + tar xf "$LFS_BC".tar.xz && cd "$LFS_BC" && CC=gcc ./configure --prefix=/usr -G -O3 -r && @@ -207,10 +270,16 @@ make test | tee ../check-log_"$LFS_BC".log; make install && cd .. && rm -rf "$LFS_BC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.13 ""$LFS_BC""" >> build.log echo "$LFS_BC" >> /installed.txt -echo "8.14 ""$LFS_FLEX""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.14 ""$LFS_FLEX""" >> build.log + tar xf "$LFS_FLEX".tar.gz && cd "$LFS_FLEX" && ./configure --prefix=/usr \ @@ -222,10 +291,16 @@ make install && ln -sv flex /usr/bin/lex && cd .. && rm -rf "$LFS_FLEX" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.14 ""$LFS_FLEX""" >> build.log && echo "$LFS_FLEX" >> /installed.txt -echo "8.15 ""$LFS_TCL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.15 ""$LFS_TCL""" >> build.log + tar xf "$LFS_TCL"-src.tar.gz && cd "$LFS_TCL" && SRCDIR=$(pwd) && @@ -258,10 +333,16 @@ mkdir -v -p /usr/share/doc/tcl-8.6.13 && cp -v -r ./html/* /usr/share/doc/tcl-8.6.13 && cd .. && rm -rf "$LFS_TCL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.15 ""$LFS_TCL""" >> build.log && echo "$LFS_TCL" >> /installed.txt -echo "8.16 ""$LFS_EXPECT""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.16 ""$LFS_EXPECT""" >> build.log + tar xf "$LFS_EXPECT".tar.gz && cd "$LFS_EXPECT" && ./configure --prefix=/usr \ @@ -274,10 +355,16 @@ make test | tee ../check-log_"$LFS_EXPECT".log; make install && ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib && cd .. && rm -rf "$LFS_EXPECT" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.16 ""$LFS_EXPECT""" >> build.log && echo "$LFS_EXPECT" >> /installed.txt -echo "8.17 ""$LFS_DEJAGNU""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.17 ""$LFS_DEJAGNU""" >> build.log + tar xf "$LFS_DEJAGNU".tar.gz && cd "$LFS_DEJAGNU" && mkdir -v build && @@ -291,10 +378,16 @@ install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-1.6.3 && make check | tee ../../check-log_"$LFS_DEJAGNU".log; cd ../.. && rm -rf "$LFS_DEJAGNU" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.17 ""$LFS_DEJAGNU""" >> build.log && echo "$LFS_DEJAGNU" >> /installed.txt -echo "8.18 ""$LFS_BINUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.18 ""$LFS_BINUTILS""" >> build.log + tar xf "$LFS_BINUTILS".tar.xz && cd "$LFS_BINUTILS" && echo "Verify that the PTYs are working properly inside the chroot environment" @@ -320,10 +413,16 @@ rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a && rm -fv /usr/share/man/man1/{gprofng,gp-*}.1 && cd ../.. && rm -rf "$LFS_BINUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.18 ""$LFS_BINUTILS""" >> build.log && echo "$LFS_BINUTILS" >> /installed.txt -echo "8.19 ""$LFS_GMP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.19 ""$LFS_GMP""" >> build.log + tar xf "$LFS_GMP".tar.xz && cd "$LFS_GMP" && ./configure --prefix=/usr \ @@ -339,10 +438,16 @@ make install && make install-html && cd .. && rm -rf "$LFS_GMP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.19 ""$LFS_GMP""" >> build.log && echo "$LFS_GMP" >> /installed.txt -echo "8.20 ""$LFS_MPFR""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.20 ""$LFS_MPFR""" >> build.log + tar xf "$LFS_MPFR".tar.xz && cd "$LFS_MPFR" && sed -e 's/+01,234,567/+1,234,567 /' \ @@ -359,10 +464,16 @@ make install && make install-html && cd .. && rm -rf "$LFS_MPFR" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.20 ""$LFS_MPFR""" >> build.log && echo "$LFS_MPFR" >> /installed.txt -echo "8.21 ""$LFS_MPC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.21 ""$LFS_MPC""" >> build.log + tar xf "$LFS_MPC".tar.gz && cd "$LFS_MPC" && ./configure --prefix=/usr \ @@ -375,10 +486,16 @@ make install && make install-html && cd .. && rm -rf "$LFS_MPC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.21 ""$LFS_MPC""" >> build.log && echo "$LFS_MPC" >> /installed.txt -echo "8.22 ""$LFS_ATTR""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.22 ""$LFS_ATTR""" >> build.log + tar xf "$LFS_ATTR".tar.gz && cd "$LFS_ATTR" && ./configure --prefix=/usr \ @@ -390,10 +507,16 @@ make check | tee ../check-log_"$LFS_ATTR".log; make install && cd .. && rm -rf "$LFS_ATTR" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.22 ""$LFS_ATTR""" >> build.log && echo "$LFS_ATTR" >> /installed.txt -echo "8.23 ""$LFS_ACL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.23 ""$LFS_ACL""" >> build.log + tar xf "$LFS_ACL".tar.xz && cd "$LFS_ACL" && ./configure --prefix=/usr \ @@ -403,10 +526,16 @@ make && make install && cd .. && rm -rf "$LFS_ACL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.23 ""$LFS_ACL""" >> build.log && echo "$LFS_ACL" >> /installed.txt -echo "8.24 ""$LFS_LIBCAP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.24 ""$LFS_LIBCAP""" >> build.log + tar xf "$LFS_LIBCAP".tar.xz && cd "$LFS_LIBCAP" && sed -i '/install -m.*STA/d' libcap/Makefile && @@ -415,10 +544,16 @@ make test | tee ../check-log_"$LFS_LIBCAP".log; make prefix=/usr lib=lib install && cd .. && rm -rf "$LFS_LIBCAP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.24 ""$LFS_LIBCAP""" >> build.log && echo "$LFS_LIBCAP" >> /installed.txt -echo "8.25 ""$LFS_SHADOW""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.25 ""$LFS_SHADOW""" >> build.log + tar xf "$LFS_SHADOW".tar.xz && cd "$LFS_SHADOW" && sed -i 's/groups$(EXEEXT) //' src/Makefile.in && @@ -447,10 +582,16 @@ echo "The password for the user root has been set to 'root'" sleep 5 cd .. && rm -rf "$LFS_SHADOW" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.25 ""$LFS_SHADOW""" >> build.log && echo "$LFS_SHADOW" >> /installed.txt -echo "8.26 ""$LFS_GCC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.26 ""$LFS_GCC""" >> build.log + tar xf "$LFS_GCC".tar.xz && cd "$LFS_GCC" && case $(uname -m) in @@ -526,10 +667,16 @@ mkdir -pv /usr/share/gdb/auto-load/usr/lib && mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib && cd ../.. && rm -rf "$LFS_GCC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.26 ""$LFS_GCC""" >> build.log && echo "$LFS_GCC" >> /installed.txt -echo "8.27 ""$LFS_PKGCONFIG""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.27 ""$LFS_PKGCONFIG""" >> build.log + tar xf "$LFS_PKGCONFIG".tar.gz && cd "$LFS_PKGCONFIG" && ./configure --prefix=/usr \ @@ -541,10 +688,16 @@ make check | tee ../check-log_"$LFS_PKGCONFIG".log; make install && cd .. && rm -rf "$LFS_PKGCONFIG" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.27 ""$LFS_PKGCONFIG""" >> build.log && echo "$LFS_PKGCONFIG" >> /installed.txt -echo "8.28 ""$LFS_NCURSES""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.28 ""$LFS_NCURSES""" >> build.log + tar xf "$LFS_NCURSES".tar.gz && cd "$LFS_NCURSES" && ./configure --prefix=/usr \ @@ -573,10 +726,16 @@ mkdir -pv /usr/share/doc/ncurses-6.4 && cp -v -R doc/* /usr/share/doc/ncurses-6.4 && cd .. && rm -rf "$LFS_NCURSES" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.28 ""$LFS_NCURSES""" >> build.log && echo "$LFS_NCURSES" >> /installed.txt -echo "8.29 ""$LFS_SED""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.29 ""$LFS_SED""" >> build.log + tar xf "$LFS_SED".tar.xz && cd "$LFS_SED" && ./configure --prefix=/usr && @@ -589,10 +748,16 @@ install -d -m755 /usr/share/doc/sed-4.9 && install -m644 doc/sed.html /usr/share/doc/sed-4.9 && cd .. && rm -rf "$LFS_SED" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.29 ""$LFS_SED""" >> build.log && echo "$LFS_SED" >> /installed.txt -echo "8.30 ""$LFS_PSMISC""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.30 ""$LFS_PSMISC""" >> build.log + tar xf "$LFS_PSMISC".tar.xz && cd "$LFS_PSMISC" && ./configure --prefix=/usr && @@ -600,10 +765,16 @@ make && make install && cd .. && rm -rf "$LFS_PSMISC" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.30 ""$LFS_PSMISC""" >> build.log && echo "$LFS_PSMISC" >> /installed.txt -echo "8.31 ""$LFS_GETTEXT""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.31 ""$LFS_GETTEXT""" >> build.log + tar xf "$LFS_GETTEXT".tar.xz && cd "$LFS_GETTEXT" && ./configure --prefix=/usr \ @@ -615,10 +786,16 @@ make install && chmod -v 0755 /usr/lib/preloadable_libintl.so && cd .. && rm -rf "$LFS_GETTEXT" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.31 ""$LFS_GETTEXT""" >> build.log && echo "$LFS_GETTEXT" >> /installed.txt -echo "8.32 ""$LFS_BISON""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.32 ""$LFS_BISON""" >> build.log + tar xf "$LFS_BISON".tar.xz && cd "$LFS_BISON" && ./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2 && @@ -627,10 +804,16 @@ make check | tee ../check-log_"$LFS_BISON".log; make install && cd .. && rm -rf "$LFS_BISON" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.32 ""$LFS_BISON""" >> build.log && echo "$LFS_BISON" >> /installed.txt -echo "8.33 ""$LFS_GREP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.33 ""$LFS_GREP""" >> build.log + tar xf "$LFS_GREP".tar.xz && cd "$LFS_GREP" && sed -i "s/echo/#echo/" src/egrep.sh && @@ -640,10 +823,16 @@ make check | tee ../check-log_"$LFS_GREP".log; make install && cd .. && rm -rf "$LFS_GREP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.33 ""$LFS_GREP""" >> build.log && echo "$LFS_GREP" >> /installed.txt -echo "8.34 ""$LFS_BASH""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.34 ""$LFS_BASH""" >> build.log + tar xf "$LFS_BASH".tar.gz && cd "$LFS_BASH" && ./configure --prefix=/usr \ @@ -662,8 +851,12 @@ EOF make install && cd .. && rm -rf "$LFS_BASH" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.34 ""$LFS_BASH""" >> build.log && echo "$LFS_BASH" >> /installed.txt + echo "Executing new bash, continue with chapter 8 p2:" echo "bash chap8p2.sh" exec /usr/bin/bash --login diff --git a/chap8p2.sh b/chap8p2.sh index e2ccdb6..3ac8a79 100644 --- a/chap8p2.sh +++ b/chap8p2.sh @@ -2,7 +2,10 @@ source vars.sh -echo "8.35 ""$LFS_LIBTOOL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.35 ""$LFS_LIBTOOL""" >> build.log + tar xf "$LFS_LIBTOOL".tar.xz && cd "$LFS_LIBTOOL" && ./configure --prefix=/usr && @@ -12,10 +15,16 @@ make install && rm -fv /usr/lib/libltdl.a && cd .. && rm -rf "$LFS_LIBTOOL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.35 ""$LFS_LIBTOOL""" >> build.log && echo "$LFS_LIBTOOL" >> /installed.txt -echo "8.36 ""$LFS_GDBM""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.36 ""$LFS_GDBM""" >> build.log + tar xf "$LFS_GDBM".tar.gz && cd "$LFS_GDBM" && ./configure --prefix=/usr \ @@ -26,10 +35,16 @@ make check | tee ../check-log_"$LFS_GDBM".log; make install && cd .. && rm -rf "$LFS_GDBM" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.36 ""$LFS_GDBM""" >> build.log && echo "$LFS_GDBM" >> /installed.txt -echo "8.37 ""$LFS_GPERF""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.37 ""$LFS_GPERF""" >> build.log + tar xf "$LFS_GPERF".tar.gz && cd "$LFS_GPERF" && ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 && @@ -38,10 +53,16 @@ make -j1 check | tee ../check-log_"$LFS_GPERF".log; make install && cd .. && rm -rf "$LFS_GPERF" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.37 ""$LFS_GPERF""" >> build.log && echo "$LFS_GPERF" >> /installed.txt -echo "8.38 ""$LFS_EXPAT""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.38 ""$LFS_EXPAT""" >> build.log + tar xf "$LFS_EXPAT".tar.xz && cd "$LFS_EXPAT" && ./configure --prefix=/usr \ @@ -53,10 +74,16 @@ make install && install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.5.0 && cd .. && rm -rf "$LFS_EXPAT" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.38 ""$LFS_EXPAT""" >> build.log && echo "$LFS_EXPAT" >> /installed.txt -echo "8.39 ""$LFS_INETUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.39 ""$LFS_INETUTILS""" >> build.log + tar xf "$LFS_INETUTILS".tar.xz && cd "$LFS_INETUTILS" && if [ "$TELNETD" = TRUE ]; then @@ -111,10 +138,16 @@ EOF fi && cd .. && rm -rf "$LFS_INETUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.39 ""$LFS_INETUTILS""" >> build.log && echo "$LFS_INETUTILS" >> /installed.txt -echo "8.40 ""$LFS_LESS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.40 ""$LFS_LESS""" >> build.log + tar xf "$LFS_LESS".tar.gz && cd "$LFS_LESS" && ./configure --prefix=/usr --sysconfdir=/etc && @@ -122,10 +155,16 @@ make && make install && cd .. && rm -rf "$LFS_LESS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.40 ""$LFS_LESS""" >> build.log && echo "$LFS_LESS" >> /installed.txt -echo "8.41 ""$LFS_PERL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.41 ""$LFS_PERL""" >> build.log + tar xf "$LFS_PERL".tar.xz && cd "$LFS_PERL" && export BUILD_ZLIB=False && @@ -150,10 +189,16 @@ make install && unset BUILD_ZLIB BUILD_BZIP2 cd .. && rm -rf "$LFS_PERL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.41 ""$LFS_PERL""" >> build.log && echo "$LFS_PERL" >> /installed.txt -echo "8.42 ""$LFS_XMLPARSER""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.42 ""$LFS_XMLPARSER""" >> build.log + tar xf "$LFS_XMLPARSER".tar.gz && cd "$LFS_XMLPARSER" && perl Makefile.PL && @@ -162,10 +207,16 @@ make test | tee ../check-log_"$LFS_XMLPARSER".log; make install && cd .. && rm -rf "$LFS_XMLPARSER" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.42 ""$LFS_XMLPARSER""" >> build.log && echo "$LFS_PERL" >> /installed.txt -echo "8.43 ""$LFS_INTLTOOL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.43 ""$LFS_INTLTOOL""" >> build.log + tar xf "$LFS_INTLTOOL".tar.gz && cd "$LFS_INTLTOOL" && sed -i 's:\\\${:\\\$\\{:' intltool-update.in && @@ -176,10 +227,16 @@ make install && install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-0.51.0/I18N-HOWTO && cd .. && rm -rf "$LFS_INTLTOOL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.43 ""$LFS_INTLTOOL""" >> build.log && echo "$LFS_INTLTOOL" >> /installed.txt -echo "8.44 ""$LFS_AUTOCONF""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.44 ""$LFS_AUTOCONF""" >> build.log + tar xf "$LFS_AUTOCONF".tar.xz && cd "$LFS_AUTOCONF" && sed -e 's/SECONDS|/&SHLVL|/' \ @@ -191,10 +248,16 @@ TESTSUITEFLAGS=-j"$JOBS" make check | tee ../check-log_"$LFS_AUTOCONF".log; make install && cd .. && rm -rf "$LFS_AUTOCONF" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.44 ""$LFS_AUTOCONF""" >> build.log && echo "$LFS_AUTOCONF" >> /installed.txt -echo "8.45 ""$LFS_AUTOMAKE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.45 ""$LFS_AUTOMAKE""" >> build.log + tar xf "$LFS_AUTOMAKE".tar.xz && cd "$LFS_AUTOMAKE" && ./configure --prefix=/usr --docdir=/usr/share/doc/automake-1.16.5 && @@ -203,10 +266,16 @@ make -j4 check | tee ../check-log_"$LFS_AUTOMAKE".log; make install && cd .. && rm -rf "$LFS_AUTOMAKE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.45 ""$LFS_AUTOMAKE""" >> build.log && echo "$LFS_AUTOMAKE" >> /installed.txt -echo "8.46 ""$LFS_OPENSSL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.46 ""$LFS_OPENSSL""" >> build.log + tar xf "$LFS_OPENSSL".tar.gz && cd "$LFS_OPENSSL" && ./config --prefix=/usr \ @@ -222,10 +291,16 @@ mv -v /usr/share/doc/openssl /usr/share/doc/openssl-3.0.8 && cp -vfr doc/* /usr/share/doc/openssl-3.0.8 && cd .. && rm -rf "$LFS_OPENSSL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.46 ""$LFS_OPENSSL""" >> build.log && echo "$LFS_OPENSSL" >> /installed.txt -echo "8.47 ""$LFS_KMOD""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.47 ""$LFS_KMOD""" >> build.log + tar xf "$LFS_KMOD".tar.xz && cd "$LFS_KMOD" && ./configure --prefix=/usr \ @@ -242,10 +317,16 @@ done && ln -sfv kmod /usr/bin/lsmod && cd .. && rm -rf "$LFS_KMOD" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.47 ""$LFS_KMOD""" >> build.log && echo "$LFS_KMOD" >> /installed.txt -echo "8.48 Libelf from ""$LFS_ELFUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.48 Libelf from ""$LFS_ELFUTILS""" >> build.log + tar xf "$LFS_ELFUTILS".tar.bz2 && cd "$LFS_ELFUTILS" && ./configure --prefix=/usr \ @@ -258,10 +339,16 @@ install -vm644 config/libelf.pc /usr/lib/pkgconfig && rm /usr/lib/libelf.a && cd .. && rm -rf "$LFS_ELFUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.48 Libelf from ""$LFS_ELFUTILS""" >> build.log && echo "Libelf from $LFS_ELFUTILS" >> /installed.txt -echo "8.49 ""$LFS_LIBFFI""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.49 ""$LFS_LIBFFI""" >> build.log + tar xf "$LFS_LIBFFI".tar.gz && cd "$LFS_LIBFFI" && ./configure --prefix=/usr \ @@ -272,10 +359,16 @@ make check | tee ../check-log_"$LFS_LIBFFI".log; make install && cd .. && rm -rf "$LFS_LIBFFI" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.49 ""$LFS_LIBFFI""" >> build.log && echo "$LFS_LIBFFI" >> /installed.txt -echo "8.50 ""$LFS_PYTHON""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.50 ""$LFS_PYTHON""" >> build.log + tar xf "$LFS_PYTHON".tar.xz && cd "$LFS_PYTHON" && ./configure --prefix=/usr \ @@ -298,20 +391,32 @@ tar --strip-components=1 \ -xvf ../python-3.11.2-docs-html.tar.bz2 && cd .. && rm -rf "$LFS_PYTHON" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.50 ""$LFS_PYTHON""" >> build.log && echo "$LFS_PYTHON" >> /installed.txt -echo "8.51 ""$LFS_WHEEL""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.51 ""$LFS_WHEEL""" >> build.log + tar xf "$LFS_WHEEL".tar.gz && cd "$LFS_WHEEL" && PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD && pip3 install --no-index --find-links=dist wheel && cd .. && rm -rf "$LFS_WHEEL" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.51 ""$LFS_WHEEL""" >> build.log && echo "$LFS_WHEEL" >> /installed.txt -echo "8.52 ""$LFS_NINJA""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.52 ""$LFS_NINJA""" >> build.log + tar xf "$LFS_NINJA".tar.gz && cd "$LFS_NINJA" && sed -i '/int Guess/a \ @@ -328,10 +433,16 @@ install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninj install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja && cd .. && rm -rf "$LFS_NINJA" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.52 ""$LFS_NINJA""" >> build.log && echo "$LFS_NINJA" >> /installed.txt -echo "8.53 ""$LFS_MESON""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.53 ""$LFS_MESON""" >> build.log + tar xf "$LFS_MESON".tar.gz && cd "$LFS_MESON" && pip3 wheel -w dist --no-build-isolation --no-deps $PWD && @@ -340,10 +451,16 @@ install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/com install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson && cd .. && rm -rf "$LFS_MESON" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.53 ""$LFS_MESON""" >> build.log && echo "$LFS_MESON" >> /installed.txt -echo "8.54 ""$LFS_COREUTILS" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.54 ""$LFS_COREUTILS" >> build.log + tar xf "$LFS_COREUTILS".tar.xz && cd "$LFS_COREUTILS" && patch -Np1 -i ../coreutils-9.1-i18n-1.patch && @@ -363,10 +480,16 @@ mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 && sed -i 's/"1"/"8"/' /usr/share/man/man8/chroot.8 && cd .. && rm -rf "$LFS_COREUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.54 ""$LFS_COREUTILS" >> build.log && echo "$LFS_COREUTILS" >> /installed.txt -echo "8.55 ""$LFS_CHECK""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.55 ""$LFS_CHECK""" >> build.log + tar xf "$LFS_CHECK".tar.gz && cd "$LFS_CHECK" && ./configure --prefix=/usr --disable-static && @@ -375,10 +498,16 @@ make check | tee ../check-log_"$LFS_CHECK".log; make docdir=/usr/share/doc/check-0.15.2 install && cd .. && rm -rf "$LFS_CHECK" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.55 ""$LFS_CHECK""" >> build.log && echo "$LFS_CHECK" >> /installed.txt -echo "8.56 ""$LFS_DIFFUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.56 ""$LFS_DIFFUTILS""" >> build.log + tar xf "$LFS_DIFFUTILS".tar.xz && cd "$LFS_DIFFUTILS" && ./configure --prefix=/usr && @@ -387,10 +516,16 @@ make check | tee ../check-log_"$LFS_DIFFUTILS".log; make install && cd .. && rm -rf "$LFS_DIFFUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.56 ""$LFS_DIFFUTILS""" >> build.log && echo "$LFS_DIFFUTILS" >> /installed.txt -echo "8.57 ""$LFS_GAWK""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.57 ""$LFS_GAWK""" >> build.log + tar xf "$LFS_GAWK".tar.xz && cd "$LFS_GAWK" && sed -i 's/extras//' Makefile.in && @@ -402,10 +537,16 @@ mkdir -pv /usr/share/doc/gawk-5.2.1 && cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-5.2.1 && cd .. && rm -rf "$LFS_GAWK" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.57 ""$LFS_GAWK""" >> build.log && echo "$LFS_GAWK" >> /installed.txt -echo "8.58 ""$LFS_FINDUTILS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.58 ""$LFS_FINDUTILS""" >> build.log + tar xf "$LFS_FINDUTILS".tar.xz && cd "$LFS_FINDUTILS" && case $(uname -m) in @@ -418,10 +559,16 @@ su tester -c "PATH=$PATH make check" | tee ../check-log_"$LFS_FINDUTILS".log; make install && cd .. && rm -rf "$LFS_FINDUTILS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.58 ""$LFS_FINDUTILS""" >> build.log && echo "$LFS_FINDUTILS" >> /installed.txt -echo "8.59 ""$LFS_GROFF""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.59 ""$LFS_GROFF""" >> build.log + tar xf "$LFS_GROFF".tar.gz && cd "$LFS_GROFF" && PAGE="$PAPERSIZE" ./configure --prefix=/usr && @@ -429,10 +576,16 @@ make && make install && cd .. && rm -rf "$LFS_GROFF" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.59 ""$LFS_GROFF""" >> build.log && echo "$LFS_GROFF" >> /installed.txt -echo "8.60 ""$LFS_GRUB""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.60 ""$LFS_GRUB""" >> build.log + tar xf "$LFS_GRUB".tar.xz && cd "$LFS_GRUB" && unset {C,CPP,CXX,LD}FLAGS && @@ -446,10 +599,16 @@ make install && mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions && cd .. && rm -rf "$LFS_GRUB" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.60 ""$LFS_GRUB""" >> build.log && echo "$LFS_GRUB" >> /installed.txt -echo "8.61 ""$LFS_GZIP""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.61 ""$LFS_GZIP""" >> build.log + tar xf "$LFS_GZIP".tar.xz && cd "$LFS_GZIP" && ./configure --prefix=/usr && @@ -458,10 +617,16 @@ make check | tee ../check-log_"$LFS_GZIP".log; make install && cd .. && rm -rf "$LFS_GZIP" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.61 ""$LFS_GZIP""" >> build.log && echo "$LFS_GZIP" >> /installed.txt -echo "8.62 ""$LFS_IPROUTE2""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.62 ""$LFS_IPROUTE2""" >> build.log + tar xf "$LFS_IPROUTE2".tar.xz && cd "$LFS_IPROUTE2" && sed -i /ARPD/d Makefile && @@ -472,10 +637,16 @@ mkdir -pv /usr/share/doc/iproute2-6.1.0 && cp -v COPYING README* /usr/share/doc/iproute2-6.1.0 && cd .. && rm -rf "$LFS_IPROUTE2" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.62 ""$LFS_IPROUTE2""" >> build.log && echo "$LFS_IPROUTE2" >> /installed.txt -echo "8.63 ""$LFS_KBD""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.63 ""$LFS_KBD""" >> build.log + tar xf "$LFS_KBD".tar.xz && cd "$LFS_KBD" && patch -Np1 -i ../kbd-2.5.1-backspace-1.patch && @@ -489,10 +660,16 @@ mkdir -pv /usr/share/doc/kbd-2.5.1 && cp -R -v docs/doc/* /usr/share/doc/kbd-2.5.1 && cd .. && rm -rf "$LFS_KBD" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.63 ""$LFS_KBD""" >> build.log && echo "$LFS_KBD" >> /installed.txt -echo "8.64 ""$LFS_LIBPIPELINE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.64 ""$LFS_LIBPIPELINE""" >> build.log + tar xf "$LFS_LIBPIPELINE".tar.gz && cd "$LFS_LIBPIPELINE" && ./configure --prefix=/usr && @@ -501,10 +678,16 @@ make check | tee ../check-log_"$LFS_LIBPIPELINE".log; make install && cd .. && rm -rf "$LFS_LIBPIPELINE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.64 ""$LFS_LIBPIPELINE""" >> build.log && echo "$LFS_LIBPIPELINE" >> /installed.txt -echo "8.65 ""$LFS_MAKE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.65 ""$LFS_MAKE""" >> build.log + tar xf "$LFS_MAKE".tar.gz && cd "$LFS_MAKE" && sed -e '/ifdef SIGPIPE/,+2 d' \ @@ -516,10 +699,16 @@ make check | tee ../check-log_"$LFS_MAKE".log; make install && cd .. && rm -rf "$LFS_MAKE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.65 ""$LFS_MAKE""" >> build.log && echo "$LFS_MAKE" >> /installed.txt -echo "8.66 ""$LFS_PATCH""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.66 ""$LFS_PATCH""" >> build.log + tar xf "$LFS_PATCH".tar.xz && cd "$LFS_PATCH" && ./configure --prefix=/usr && @@ -528,10 +717,16 @@ make check | tee ../check-log_"$LFS_PATCH".log; make install && cd .. && rm -rf "$LFS_PATCH" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "FInished 8.66 ""$LFS_PATCH""" >> build.log && echo "$LFS_PATCH" >> /installed.txt -echo "8.67 ""$LFS_TAR""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.67 ""$LFS_TAR""" >> build.log + tar xf "$LFS_TAR".tar.xz && cd "$LFS_TAR" && FORCE_UNSAFE_CONFIGURE=1 \ @@ -542,10 +737,16 @@ make install && make -C doc install-html docdir=/usr/share/doc/tar-1.34 && cd .. && rm -rf "$LFS_TAR" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.67 ""$LFS_TAR""" >> build.log && echo "$LFS_TAR" >> /installed.txt -echo "8.68 ""$LFS_TEXINFO""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.68 ""$LFS_TEXINFO""" >> build.log + tar xf "$LFS_TEXINFO".tar.xz && cd "$LFS_TEXINFO" && ./configure --prefix=/usr && @@ -554,10 +755,16 @@ make && make install && cd .. && rm -rf "$LFS_TEXINFO" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.68 ""$LFS_TEXINFO""" >> build.log && echo "$LFS_TEXINFO" >> /installed.txt -echo "8.69 ""$LFS_VIM""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.69 ""$LFS_VIM""" >> build.log + tar xf "$LFS_VIM".tar.xz && cd "$LFS_VIM" && echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h && @@ -591,30 +798,48 @@ endif EOF cd .. && rm -rf "$LFS_VIM" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.69 ""$LFS_VIM""" >> build.log && echo "$LFS_VIM" >> /installed.txt -echo "8.70 ""$LFS_MARKUPSAFE""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.70 ""$LFS_MARKUPSAFE""" >> build.log + tar xf "$LFS_MARKUPSAFE".tar.gz && cd "$LFS_MARKUPSAFE" && pip3 wheel -w dist --no-build-isolation --no-deps $PWD && pip3 install --no-index --no-user --find-links dist Markupsafe && cd .. && rm -rf "$LFS_MARKUPSAFE" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.70 ""$LFS_MARKUPSAFE""" >> build.log && echo "$LFS_MARKUPSAFE" >> /installed.txt -echo "8.71 ""$LFS_JINJA2""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.71 ""$LFS_JINJA2""" >> build.log + tar xf "$LFS_JINJA2".tar.gz && cd "$LFS_JINJA2" && pip3 wheel -w dist --no-build-isolation --no-deps $PWD && pip3 install --no-index --no-user --find-links dist Jinja2 && cd .. && rm -rf "$LFS_JINJA2" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.71 ""$LFS_JINJA2""" >> build.log && echo "$LFS_JINJA2" >> /installed.txt -echo "8.72 ""$LFS_SYSTEMD""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.72 ""$LFS_SYSTEMD""" >> build.log + tar xf "$LFS_SYSTEMD".tar.gz cd "$LFS_SYSTEMD" && patch -Np1 -i ../systemd-252-security_fix-1.patch && @@ -648,10 +873,16 @@ if [ "$TELNETD" = TRUE ]; then fi && cd ../.. && rm -rf "$LFS_SYSTEMD" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.72 ""$LFS_SYSTEMD""" >> build.log && echo "$LFS_SYSTEMD" >> /installed.txt -echo "8.73 ""$LFS_DBUS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.73 ""$LFS_DBUS""" >> build.log + tar xf "$LFS_DBUS".tar.xz && cd "$LFS_DBUS" && ./configure --prefix=/usr \ @@ -668,10 +899,16 @@ make install && ln -sfv /etc/machine-id /var/lib/dbus && cd .. && rm -rf "$LFS_DBUS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.73 ""$LFS_DBUS""" >> build.log && echo "$LFS_DBUS" >> /installed.txt -echo "8.74 ""$LFS_MANDB""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.74 ""$LFS_MANDB""" >> build.log + tar xf "$LFS_MANDB".tar.xz && cd "$LFS_MANDB" && ./configure --prefix=/usr \ @@ -687,10 +924,16 @@ make check | tee ../check-log_"$LFS_MANDB".log; make install && cd .. && rm -rf "$LFS_MANDB" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.74 ""$LFS_MANDB""" >> build.log && echo "$LFS_MANDB" >> /installed.txt -echo "8.75 ""$LFS_PROCPSNG""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.75 ""$LFS_PROCPSNG""" >> build.log + tar xf "$LFS_PROCPSNG".tar.xz cd "$LFS_PROCPSNG" && ./configure --prefix=/usr \ @@ -703,10 +946,16 @@ make check | tee ../check-log_"$LFS_MANDB".log; make install && cd .. && rm -rf "$LFS_PROCPSNG" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.75 ""$LFS_PROCPSNG""" >> build.log && echo "$LFS_PROCPSNG" >> /installed.txt -echo "8.76 ""$LFS_UTILLINUX""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.76 ""$LFS_UTILLINUX""" >> build.log + tar xf "$LFS_UTILLINUX".tar.xz && cd "$LFS_UTILLINUX" && ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ @@ -727,10 +976,16 @@ make && make install && cd .. && rm -rf "$LFS_UTILLINUX" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.76 ""$LFS_UTILLINUX""" >> build.log && echo "$LFS_UTILLINUX" >> /installed.txt -echo "8.77 ""$LFS_E2FSPROGS""" +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log +echo "Starting 8.77 ""$LFS_E2FSPROGS""" >> build.log + tar xf "$LFS_E2FSPROGS".tar.gz && cd "$LFS_E2FSPROGS" && mkdir -v build && @@ -753,6 +1008,9 @@ install -v -m644 doc/com_err.info /usr/share/info && install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info && cd ../.. && rm -rf "$LFS_E2FSPROGS" && + +CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") +echo "$CURRENT_DATE_TIME" >> build.log echo "Finished 8.77 ""$LFS_E2FSPROGS""" >> build.log && echo "$LFS_E2FSPROGS" >> /installed.txt