Make Release

Amitabh Kant amitabhkant at gmail.com
Thu Aug 1 16:57:09 UTC 2013


On Thu, Aug 1, 2013 at 10:13 PM, Teske, Devin <Devin.Teske at fisglobal.com>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


More information about the freebsd-questions mailing list