make stripping work

This commit is contained in:
tux 2024-09-20 20:55:08 +02:00
parent 7942403d38
commit 5fe51dfc9d

View File

@ -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