make stripping work
This commit is contained in:
parent
7942403d38
commit
5fe51dfc9d
@ -1039,6 +1039,8 @@ CURRENT_DATE_TIME=$(date +"%Y-%m-%d %T")
|
|||||||
echo "$CURRENT_DATE_TIME: Finished 8.81 ""$LFS_E2FSPROGS""" >> build.log
|
echo "$CURRENT_DATE_TIME: Finished 8.81 ""$LFS_E2FSPROGS""" >> build.log
|
||||||
echo "$LFS_E2FSPROGS" >> /installed.txt
|
echo "$LFS_E2FSPROGS" >> /installed.txt
|
||||||
|
|
||||||
|
set +e
|
||||||
|
|
||||||
save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
|
save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
|
||||||
libc.so.6
|
libc.so.6
|
||||||
libthread_db.so.1
|
libthread_db.so.1
|
||||||
@ -1089,6 +1091,8 @@ for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg) \
|
|||||||
done
|
done
|
||||||
unset BIN LIB save_usrlib online_usrbin online_usrlib
|
unset BIN LIB save_usrlib online_usrbin online_usrlib
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -rf /tmp/{*,.*}
|
rm -rf /tmp/{*,.*}
|
||||||
find /usr/lib /usr/libexec -name \*.la -delete
|
find /usr/lib /usr/libexec -name \*.la -delete
|
||||||
find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf
|
find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user