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