Fernando de Oliveira wrote these words on 01/28/13 10:41 CST:
> Forwarded from the "BLFS Book Maintenance List" list.
>
> Sorry for top posting.
>
> Thanks, Randy.
Though essentially the same thing Bruce said, here is what I do at the
completion of LFS. Simply modify the log file locations and include any other
directories you wish and you may like the results:
du -sch {,usr/}{sbin,bin} \
>home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log 2>&1
echo \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log
find sbin bin usr/sbin usr/bin -type f -exec strip --strip-all --preserve-dates
{} \; \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log 2>&1
echo \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log
du -sch {,usr/}{sbin,bin} \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log 2>&1
cat home/rml/build/Logs/LFS_System/Post-Installation/strip-bin.log | \
grep -v "File format not recognized"
du -sch {,usr/}lib \
>home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log 2>&1
echo \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log
find lib usr/lib -type f -exec strip --strip-debug --preserve-dates {} \; \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log 2>&1
echo \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log
du -sch {,usr/}lib \
>>home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log 2>&1
cat home/rml/build/Logs/LFS_System/Post-Installation/strip-lib.log | \
grep -v "File format not recognized"
--
Randy
rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
10:49:00 up 53 days, 20:48, 1 user, load average: 0.02, 0.03, 0.00
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page