Author: bdubbs Date: Tue Feb 26 20:49:50 2019 New Revision: 21257 Log: Make stripping command more robust. Use a better URL for lsof.
Modified: trunk/BOOK/general/genutils/lsof.xml trunk/BOOK/introduction/important/building-notes.xml Modified: trunk/BOOK/general/genutils/lsof.xml ============================================================================== --- trunk/BOOK/general/genutils/lsof.xml Tue Feb 26 14:11:43 2019 (r21256) +++ trunk/BOOK/general/genutils/lsof.xml Tue Feb 26 20:49:50 2019 (r21257) @@ -10,7 +10,7 @@ <!-- URL is for a mirror. Change back to below if/when main site comes back. --> <!ENTITY lsof-download-http " "> -<!ENTITY lsof-download-ftp "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.gz"> +<!ENTITY lsof-download-ftp "https://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_&lsof-version;.tar.gz"> <!ENTITY lsof-md5sum "10e1353aa4bf2fd5bbed65db9ef6fd47"> <!ENTITY lsof-size "1.1 MB"> <!ENTITY lsof-buildsize "9.6 MB"> Modified: trunk/BOOK/introduction/important/building-notes.xml ============================================================================== --- trunk/BOOK/introduction/important/building-notes.xml Tue Feb 26 14:11:43 2019 (r21256) +++ trunk/BOOK/introduction/important/building-notes.xml Tue Feb 26 20:49:50 2019 (r21257) @@ -413,7 +413,9 @@ any windowing environment is a good idea. Then you can do: </para> -<screen><userinput>find /{,usr/}{bin,lib,sbin} -type f -exec strip --strip-unneeded {} \;</userinput></screen> +<screen><userinput>find /{,usr/}{bin,lib,sbin} \ + -type f \( -name \*.so* -a ! -name \*dbg \) \ + -exec strip --strip-unneeded {} \;</userinput></screen> <para> If you install programs in other directories such as <filename -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
