LFS-6.5: 5.26.1. Installation of Patch - small inconsistency

2009-08-31 Thread Kevin Buckley
Hi there, currently running through a build of LFS-6.5 with a view to adopting a "username-per-package" Package Management approach, as is my want every now and again. Whilst watching the output of the Temporary System build of patch, I noticed that the build process is hard-coding the path to an

LFS-6.5: 5.31. Stripping - extra 10MB of docs could go

2009-08-31 Thread Kevin Buckley
LFS 6.5 5.31. Stripping At this point LFS says To save nearly 20 MB more, remove the documentation: rm -rf /tools/{info,man} however on my build, there seem to be close to another 10MB below these two directories that could also go ? 8.7M/tools/share/info 1.1M/tools/share/man $ ls /t

Re: LFS-6.5: 5.31. Stripping - extra 10MB of docs could go

2009-08-31 Thread James Robertson
Kevin Buckley wrote: > LFS 6.5 > 5.31. Stripping > > At this point LFS says > > To save nearly 20 MB more, remove the documentation: > > rm -rf /tools/{info,man} > > however on my build, there seem to be close to another 10MB below these two > directories that could also go ? > > 8.7M/tools/sh

Re: LFS-6.5: 5.26.1. Installation of Patch - small inconsistency

2009-08-31 Thread Bruce Dubbs
Kevin Buckley wrote: > /lfs/patch-2.5.9/patch.c:1327: warning: the use of `mktemp' is > dangerous, better use `mkstemp' If you look at the code, there is a comment: /* It is OK to use mktemp here, since the rest of the code always opens temp files with O_EXCL. It might be better to use mkst

Re: LFS-6.5: 5.26.1. Installation of Patch - small inconsistency

2009-08-31 Thread Kevin Buckley
>> /lfs/patch-2.5.9/patch.c:1327: warning: the use of `mktemp' is >> dangerous, better use `mkstemp' > > If you look at the code, there is a comment: > > /* It is OK to use mktemp here, since the rest of the code always ... Thanks for pointing that out but that was not what I was posting about, bu

Re: LFS-6.5: 5.31. Stripping - extra 10MB of docs could go

2009-08-31 Thread Kevin Buckley
> This is a old / long standing point that folks bring up now and again. > Since /tools is very temporary, the book has not historically worried > about the documentation that gets installed by the temp tools. Indeed! The last time I built an LFS system from scratch (bit tautological that!), I'd