xref: /freebsd/release/release.conf.sample (revision 86c9d9918f1db7cdd968b60f8902466887bcd9e9)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6## Redefine environment variables here to override prototypes
7## defined in release.sh.
8#load_chroot_env() { }
9#load_target_env() { }
10#buildenv_setup() { }
11
12## Set the directory within which the release will be built.
13CHROOTDIR="/scratch"
14
15## Set the svn host.
16SVNROOT="svn://svn.FreeBSD.org/"
17
18## Set the src/, ports/, and doc/ branches or tags.
19SRCBRANCH="base/head@rHEAD"
20DOCBRANCH="doc/head@rHEAD"
21PORTBRANCH="ports/head@rHEAD"
22
23## Run svn co --force for src checkout.
24#SRC_FORCE_CHECKOUT=yes
25
26## Sample configuration for using git instead of svn.
27#VCSCMD="/usr/local/bin/git clone --branch master"
28#SVNROOT=""
29#SRCBRANCH="https://github.com/freebsd/freebsd"
30#DOCBRANCH="https://github.com/freebsd/freebsd-doc"
31#PORTBRANCH="https://github.com/freebsd/freebsd-ports"
32
33## Set to override the default target architecture.
34#TARGET="amd64"
35#TARGET_ARCH="amd64"
36#KERNEL="GENERIC"
37## Multiple kernels may be set.
38#KERNEL="GENERIC XENHVM"
39
40## Set to specify a custom make.conf and/or src.conf
41#MAKE_CONF="/etc/local/make.conf"
42#SRC_CONF="/etc/local/src.conf"
43
44## Set to use make(1) flags.
45#MAKE_FLAGS="-s"
46
47## Set to use world- and kernel-specific make(1) flags.
48#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
49#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
50
51## Set miscellaneous 'make release' settings.
52#NODOC=
53#NOPORTS=
54#NOSRC=
55#WITH_DVD=
56#WITH_COMPRESSED_IMAGES=
57
58## Set to '1' to disable multi-threaded xz(1) compression.
59#XZ_THREADS=0
60
61## Set when building embedded images.
62#EMBEDDEDBUILD=
63
64## Set to skip the chroot environment buildworld/installworld/distribution
65## step if it is expected the build environment will exist via alternate
66## means.
67#CHROOTBUILD_SKIP=
68
69## Set to a non-empty value skip checkout or update of /usr/src in
70## the chroot.  This is intended for use when /usr/src already exists.
71#SRC_UPDATE_SKIP=
72
73## Set to a non-empty value skip checkout or update of /usr/doc in
74## the chroot.  This is intended for use when /usr/doc already exists.
75#DOC_UPDATE_SKIP=
76
77## Set to a non-empty value skip checkout or update of /usr/ports in
78## the chroot.  This is intended for use when /usr/ports already exists.
79#PORTS_UPDATE_SKIP=
80
81## Set to pass additional flags to make(1) for the build chroot setup, such
82## as TARGET/TARGET_ARCH.
83#CHROOT_MAKEENV=
84
85## Set to a non-empty value to build virtual machine images as part of the
86## release build.
87#WITH_VMIMAGES=
88
89## Set to a non-empty value to compress virtual machine images with xz(1)
90## as part of the release build.
91#WITH_COMPRESSED_VMIMAGES=
92
93## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
94## file to use for the installed userland/kernel.
95#VMBASE="vm"
96
97## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
98## virtual machine disk filesystem.  Valid size values are described in
99## the truncate(1) manual page.
100#VMSIZE="20G"
101
102## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
103## image formats to create.  Valid values are listed in the mkimg(1)
104## manual page, as well as 'mkimg --formats' output.
105#VMFORMATS="vhdf vmdk qcow2 raw"
106
107## Set to a non-empty value to build virtual machine images for various
108## cloud providers as part of the release build.
109#WITH_CLOUDWARE=
110
111## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
112## to create disk images.
113#CLOUDWARE="EC2 GCE VAGRANT-VIRTUALBOX VAGRANT-VMWARE"
114