From owner-freebsd-questions@FreeBSD.ORG Thu Aug 1 16:57:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9855C319; Thu, 1 Aug 2013 16:57:09 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5670E2F1B; Thu, 1 Aug 2013 16:57:09 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id j6so4910456oag.14 for ; Thu, 01 Aug 2013 09:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=66k59I6i/569PUazaVPHESDzOE7Xq4V8/Weksx6buaw=; b=rtJ6oArdRkqaQojvicc9KL5xrzpDkiRIVLwStlBTNxfztVuTyYikutoZCHWc2A68vt w3FndlCXCjcC+kO8nPHdvUR6jKc6q+j8mJx2srdTgspiusARhHDcZhJiyyPRXSHwmeN5 R+/1J3gLdziHadwhFHOhjPpd69I2HdtRyC3qMbxO/uIUW0FUmwymyIA9rgJxTJ5qu2T9 fBW/72J9wTdAjhpGH5wud4WecQFKbvd03PGiiG4bAb4Wi6awcK0lRI7+lRxv1YhDRM9q C3g1BmBLoMxVi/vbgAhCs6j8QCvJ0GeQXfHogrtXjj23AGe2Zg9SqowiV7Zg2GZnNeSE lzDA== X-Received: by 10.60.98.73 with SMTP id eg9mr1933482oeb.70.1375376228677; Thu, 01 Aug 2013 09:57:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.111.194 with HTTP; Thu, 1 Aug 2013 09:56:48 -0700 (PDT) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201FFEB17@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201FFEB17@ltcfiswmsgmb21> From: Amitabh Kant Date: Thu, 1 Aug 2013 22:26:48 +0530 Message-ID: Subject: Re: Make Release To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Sam Fourman Jr." , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 16:57:09 -0000 On Thu, Aug 1, 2013 at 10:13 PM, Teske, Devin wrote: > I'm hoping that my very open development documentation on customizing the > release(7) process for producing DruidBSD releases can help you out here. > > I've documented much of the internals of the release(7) process (albeit, > relevant to the RELENG_8 release(7) Makefile; in RELENG_9 it's still > relevant to /usr/src/release/Makefile.sysinstall ... but I gather that much > of the knobs may still exist in HEAD). > > Have a read through this revision-controlled text file... > > > http://druidbsd.cvs.sf.net/viewvc/druidbsd/druidbsd/druid/dep/freebsd/patches/README?revision=1.2&view=markup > > ALSO NOTE: Yes, the file is dated... it talks about cvsup instead of svn. > My hope is that the doco can be a good starting point (even if the data is > a bit dated). > > In there, you'll find things like (relevant to RELENG_9): > > make -f Makefile.sysinstall release \ > MAKE="/usr/bin/env CFLAGS=-DDRUID make" \ > CHROOTDIR=/usr/release EXTSRCDIR=/usr/src KERNELS_BASE= \ > NODOC=YES NO_FLOPPIES=YES NOCDROM=YES NOPORTS=YES \ > WORLD_FLAGS=-DWITHOUT_OPENSSL PATCH_FLAGS=-N \ > LOCAL_PATCHES=/tmp/druid.patches \ > LOCAL_SCRIPT=/tmp/local_script.sh |& tee release.log > > Take special note of the "LOCAL_SCRIPT=" option. > > Maybe, just maybe, the bsdinstall-specific release(7) process supports > LOCAL_SCRIPT too. If it doesn't... why not? > -- > Devin > Devin Do you have any idea if there have an changes to bsdinstall process (on scripting side) in the upcoming 9.2 ? Amitabh