release.conf.sample revision 262793
1251652Sgjb#!/bin/sh
2251652Sgjb#
3251652Sgjb# $FreeBSD: stable/10/release/release.conf.sample 262793 2014-03-05 17:23:29Z gjb $
4251652Sgjb#
5251652Sgjb
6251652Sgjb## Set the directory within which the release will be built.
7251652SgjbCHROOTDIR="/scratch"
8251652Sgjb
9251652Sgjb## Set the svn host.
10262761SgjbSVNROOT="svn://svn.FreeBSD.org/"
11251652Sgjb
12251652Sgjb## Set the src/, ports/, and doc/ branches or tags.
13254293SgjbSRCBRANCH="base/head@rHEAD"
14254293SgjbDOCBRANCH="doc/head@rHEAD"
15254293SgjbPORTBRANCH="ports/head@rHEAD"
16251652Sgjb
17252846Sgjb## Run svn co --force for src checkout.
18252846Sgjb#SRC_FORCE_CHECKOUT=yes
19252846Sgjb
20262761Sgjb## Sample configuration for using git instead of svn.
21262761Sgjb#VCSCMD="/usr/local/bin/git clone --branch master"
22262761Sgjb#SVNROOT=""
23262761Sgjb#SRCBRANCH="https://github.com/freebsd/freebsd"
24262761Sgjb#DOCBRANCH="https://github.com/freebsd/freebsd-doc"
25262761Sgjb#PORTBRANCH="https://github.com/freebsd/freebsd-ports"
26262761Sgjb
27251652Sgjb## Set to override the default target architecture.
28251652Sgjb#TARGET="amd64"
29251652Sgjb#TARGET_ARCH="amd64"
30251652Sgjb#KERNEL="GENERIC"
31252846Sgjb## Multiple kernels may be set.
32252846Sgjb#KERNEL="GENERIC XENHVM"
33251652Sgjb
34251652Sgjb## Set to specify a custom make.conf and/or src.conf
35251652Sgjb#MAKE_CONF="/etc/local/make.conf"
36251652Sgjb#SRC_CONF="/etc/local/src.conf"
37251652Sgjb
38251652Sgjb## Set to use make(1) flags.
39251652Sgjb#MAKE_FLAGS="-s"
40251652Sgjb
41251652Sgjb## Set to use world- and kernel-specific make(1) flags.
42251652Sgjb#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
43262793Sgjb#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
44251652Sgjb
45251652Sgjb## Set miscellaneous 'make release' settings.
46251652Sgjb#NODOC=
47251652Sgjb#NOPORTS=
48251652Sgjb#RELSTRING=
49259151Sgjb#WITH_DVD=
50