diff --git a/chap8p2.sh b/chap8p2.sh index 4d6eeb7..3d14766 100644 --- a/chap8p2.sh +++ b/chap8p2.sh @@ -1039,6 +1039,8 @@ CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T") echo "$CURRENT_DATE_TIME: Finished 8.81 ""$LFS_E2FSPROGS""" >> build.log echo "$LFS_E2FSPROGS" >> /installed.txt +set +e + save_usrlib="$(cd /usr/lib; ls ld-linux*[^g]) libc.so.6 libthread_db.so.1 @@ -1089,6 +1091,8 @@ for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg) \ done unset BIN LIB save_usrlib online_usrbin online_usrlib +set -e + rm -rf /tmp/{*,.*} find /usr/lib /usr/libexec -name \*.la -delete find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf