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