Overdone rescue cleaning as part of buildworld?

Gordon Tetlow gordont at gnf.org
Mon Jul 14 12:48:18 PDT 2003


On Mon, Jul 14, 2003 at 12:44:05PM -0700, Tim Kientzle wrote:
> Gordon Tetlow wrote:
> >On Mon, Jul 14, 2003 at 12:40:42AM -0700, David O'Brien wrote:
> >>On Sun, Jul 13, 2003 at 09:49:46PM -0700, Nate Lawson wrote:
> >>>It appears /rescue is cleaning for way too much as part of buildworld.
> >>>For instance, groff is NOT part of /rescue (or we have other things to
> >>>discuss. :)  This adds a bit of time to buildworld, can it be removed?
> 
> Yeah, I took a few shortcuts; /rescue does build far more in
> OBJDIR than it needs to, and similarly cleans much more than it needs
> to.  (Those extra dirs are never populated, but building and cleaning
> them does still take time.)  I believe the attached patch addresses
> this issue; it trims down /usr/obj/usr/src/rescue/rescue/usr/src/... to
> just the directories actually needed.

This solution is kinda hackish, I have a more generic solution that makes
it easier to add programs without having to specifically add
CRUNCH_SRCDIR_foo to every program outside of src/bin and src/sbin. I'm
hoping to iron out the wrinkles today and post the patches. Other than
that the patch is pretty much complete.

-gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030714/84bccb61/attachment.bin


More information about the freebsd-current mailing list