release.conf.sample revision 264106
1251652Sgjb#!/bin/sh
2251652Sgjb#
3251652Sgjb# $FreeBSD: stable/10/release/release.conf.sample 264106 2014-04-04 07:34:46Z 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.
13264106SgjbSRCBRANCH="base/stable/10@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=
48259151Sgjb#WITH_DVD=
49264106Sgjb
50264106Sgjb## Set when building embedded images.
51264106Sgjb#EMBEDDEDBUILD=
52264106Sgjb
53264106Sgjb## Set to skip the chroot environment buildworld/installworld/distribution
54264106Sgjb## step if it is expected the build environment will exist via alternate
55264106Sgjb## means.
56264106Sgjb#CHROOTBUILD_SKIP=
57264106Sgjb
58264106Sgjb## Set to pass additional flags to make(1) for the build chroot setup, such
59264106Sgjb## as TARGET/TARGET_ARCH.
60264106Sgjb#CHROOT_MAKEENV=
61264106Sgjb
62