xref: /freebsd/release/release.conf.sample (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
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 a list of ports required to build embedded system-on-chip
65## images, such as sysutils/u-boot-rpi.
66#EMBEDDEDPORTS=
67
68## Set to the hardware platform of the target userland.  This value
69## is passed to make(1) to set the TARGET (value of uname -m) to cross
70## build.
71#EMBEDDED_TARGET=
72
73## Set to the machine processor architecture of the target userland.
74## This value is passed to make(1) to set the TARGET_ARCH (value of uname -p)
75## to cross build.
76#EMBEDDED_TARGET_ARCH=
77
78## Set to skip the chroot environment buildworld/installworld/distribution
79## step if it is expected the build environment will exist via alternate
80## means.
81#CHROOTBUILD_SKIP=
82
83## Set to a non-empty value skip checkout or update of /usr/src in
84## the chroot.  This is intended for use when /usr/src already exists.
85#SRC_UPDATE_SKIP=
86
87## Set to a non-empty value skip checkout or update of /usr/doc in
88## the chroot.  This is intended for use when /usr/doc already exists.
89#DOC_UPDATE_SKIP=
90
91## Set to a non-empty value skip checkout or update of /usr/ports in
92## the chroot.  This is intended for use when /usr/ports already exists.
93#PORTS_UPDATE_SKIP=
94
95## Set to pass additional flags to make(1) for the build chroot setup, such
96## as TARGET/TARGET_ARCH.
97#CHROOT_MAKEENV=
98
99## Set to a non-empty value to build virtual machine images as part of the
100## release build.
101#WITH_VMIMAGES=
102
103## Set to a non-empty value to compress virtual machine images with xz(1)
104## as part of the release build.
105#WITH_COMPRESSED_VMIMAGES=
106
107## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
108## file to use for the installed userland/kernel.
109#VMBASE="vm"
110
111## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
112## virtual machine disk filesystem.  Valid size values are described in
113## the truncate(1) manual page.
114#VMSIZE="20G"
115
116## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
117## image formats to create.  Valid values are listed in the mkimg(1)
118## manual page, as well as 'mkimg --formats' output.
119#VMFORMATS="vhdf vmdk qcow2 raw"
120
121## Set to a non-empty value to build virtual machine images for various
122## cloud providers as part of the release build.
123#WITH_CLOUDWARE=
124
125## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
126## to create disk images.
127#CLOUDWARE="EC2 GCE VAGRANT-VIRTUALBOX VAGRANT-VMWARE"
128