From ceed11ef6c834cd21b2984cc4c55fe7917b0a083 Mon Sep 17 00:00:00 2001 From: gjb Date: Wed, 12 Jun 2013 13:15:28 +0000 Subject: Add new script to run release builds. The script is heavily based upon the release/generate-release.sh script by nwhitehorn. This script can use optional configuration file to override defaults, making running multiple serialzied builds with different specific configurations or architecture-specific tunings quite easy. Sample overrideable options are included in the release.conf.sample file. Approved by: kib (mentor) MFC After: 2 weeks X-MFC-To: stable/9 only --- release/release.conf.sample | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 release/release.conf.sample (limited to 'release/release.conf.sample') diff --git a/release/release.conf.sample b/release/release.conf.sample new file mode 100644 index 0000000..918e024 --- /dev/null +++ b/release/release.conf.sample @@ -0,0 +1,41 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +## Set the directory within which the release will be built. +CHROOTDIR="/scratch" + +## Set the svn host. +SVNROOT="svn://svn.FreeBSD.org" + +## Set the src/, ports/, and doc/ branches or tags. +SRCBRANCH="base/head" +DOCBRANCH="doc/head" +PORTBRANCH="ports/head" + +## Set the src/, ports/, and doc/ revisions. +SRCREVISION="-rHEAD" +DOCREVISION="-rHEAD" +PORTREVISION="-rHEAD" + +## Set to override the default target architecture. +#TARGET="amd64" +#TARGET_ARCH="amd64" +#KERNEL="GENERIC" + +## Set to specify a custom make.conf and/or src.conf +#MAKE_CONF="/etc/local/make.conf" +#SRC_CONF="/etc/local/src.conf" + +## Set to use make(1) flags. +#MAKE_FLAGS="-s" + +## Set to use world- and kernel-specific make(1) flags. +#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" +#KERNEL_FLAGS="-j $(expr $(sysctl -n hw.ncpu) / 2)" + +## Set miscellaneous 'make release' settings. +#NODOC= +#NOPORTS= +#RELSTRING= -- cgit v1.1