Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 09:22:57 -0700
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Chris H <bsd-lists@bsdforge.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: What's the possibilities of recycling /usr/obj for other targets,  etc?
Message-ID:  <55046061.8010506@freebsd.org>
In-Reply-To: <c66729fb68897113fbdd36df4972c3d9@ultimatedns.net>
References:  <c66729fb68897113fbdd36df4972c3d9@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55046061.8010506>