What's the possibilities of recycling /usr/obj for other targets, etc?

Chris H bsd-lists at bsdforge.com
Sat Mar 14 21:41:02 UTC 2015


On Sat, 14 Mar 2015 09:22:57 -0700 Nathan Whitehorn <nwhitehorn at freebsd.org>
wrote

> On 03/13/15 18:09, Chris H wrote:
> > Greetings all,
> >   I've been combing /usr/src, build, relese, and
> > release engineering in the FBSD docs, for the last
> > couple days. But still haven't *quite* unwound everything
> > in src. What I'm attempting to do, is to recycle a recent
> > build/install world/kernel I still have in /usr/obj.
> > To create
> > 1) a utility CD/DV
> > 2) a [minimal] "release" CD/DVD
> > I'm *sure* I'm just over-complicating things. But
> > it's still unclear as to whether any of the already
> > available targets/dists -- release, distribute,
> > distributekernel, distributeworld. Will attempt to
> > REbuild world && kernel, before proceeding. If I'm
> > not mistaken -DNO_CLEAN (might?) help me coerce make to
> > do my bidding. Or is only available to speed up the
> > initial build, after a
> > cd /usr/obj
> > chflags -R noschg *
> > rm -rf *
> >
> > Any help, pointers, suggestions, ... *greatly* appreciated.
> >
> > BTW I'm attempting this on a recent -CURRENT (11).
> >
> > Thanks!
> 
> make release by default will reuse the results of the previous 
> buildworld/buildkernel in /usr/obj (see release(7)). So everything 
> should just work for you there.
> -Nathan
Perfect! Exactly what I was hoping for.
Thank you very much, Nathan, and apologies for the noise.

--Chris

--




More information about the freebsd-hackers mailing list