From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 14 21:41:02 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC26D78; Sat, 14 Mar 2015 21:41:02 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90E7060B; Sat, 14 Mar 2015 21:41:02 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t2ELgrnH078816; Sat, 14 Mar 2015 14:42:53 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: FreeBSD Hackers , Nathan Whitehorn In-Reply-To: <55046061.8010506@freebsd.org> References: , <55046061.8010506@freebsd.org> From: "Chris H" Subject: Re: What's the possibilities of recycling /usr/obj for other targets, etc? Date: Sat, 14 Mar 2015 14:42:53 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <74f9a918b3757b19b51ded64306b9e69@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2015 21:41:02 -0000 On Sat, 14 Mar 2015 09:22:57 -0700 Nathan Whitehorn 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 --