From bdb07611202b7cff4028319e099ecd5954122773 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 8 Apr 2020 08:37:54 +0000 Subject: [PATCH] Run "Cleaning up" page in ICA iterations too: it allows to remove .la and some .a files --- LFS/master.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index c0ed818..cdc05a7 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -250,13 +250,14 @@ chapter6_Makefiles() { name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's,'$N',,'` # Find the tarball corresponding to our script. - # If it doesn't exist, we skip it in iterations rebuilds (except stripping). + # If it doesn't exist, we skip it in iterations rebuilds (except stripping + # and revisedchroot, where .a and .la files are removed). pkg_tarball=$(sed -n 's/tar -xf \(.*\)/\1/p' $file) pkg_version=$(sed -n 's/VERSION=\(.*\)/\1/p' $file) if [[ "$pkg_tarball" = "" ]] && [[ -n "$N" ]] ; then case "${this_script}" in - *stripping*) ;; + *stripping*|*revised*) ;; *) continue ;; esac fi