xref: /freebsd/release/release.conf.sample (revision a0ee8cc6)
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#WITH_DVD=
55#WITH_COMPRESSED_IMAGES=
56
57## Set to '1' to disable multi-threaded xz(1) compression.
58#XZ_THREADS=0
59
60## Set when building embedded images.
61#EMBEDDEDBUILD=
62
63## Set to skip the chroot environment buildworld/installworld/distribution
64## step if it is expected the build environment will exist via alternate
65## means.
66#CHROOTBUILD_SKIP=
67
68## Set to a non-empty value skip checkout or update of /usr/src in
69## the chroot.  This is intended for use when /usr/src already exists.
70#SRC_UPDATE_SKIP=
71
72## Set to a non-empty value skip checkout or update of /usr/doc in
73## the chroot.  This is intended for use when /usr/doc already exists.
74#DOC_UPDATE_SKIP=
75
76## Set to a non-empty value skip checkout or update of /usr/ports in
77## the chroot.  This is intended for use when /usr/ports already exists.
78#PORTS_UPDATE_SKIP=
79
80## Set to pass additional flags to make(1) for the build chroot setup, such
81## as TARGET/TARGET_ARCH.
82#CHROOT_MAKEENV=
83
84## Set to a non-empty value to build virtual machine images as part of the
85## release build.
86#WITH_VMIMAGES=
87
88## Set to a non-empty value to compress virtual machine images with xz(1)
89## as part of the release build.
90#WITH_COMPRESSED_VMIMAGES=
91
92## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
93## file to use for the installed userland/kernel.
94#VMBASE="vm"
95
96## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
97## virtual machine disk filesystem.  Valid size values are described in
98## the truncate(1) manual page.
99#VMSIZE="20G"
100
101## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
102## image formats to create.  Valid values are listed in the mkimg(1)
103## manual page, as well as 'mkimg --formats' output.
104#VMFORMATS="vhdf vmdk qcow2 raw"
105
106## Set to a non-empty value to build virtual machine images for various
107## cloud providers as part of the release build.
108#WITH_CLOUDWARE=
109
110## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
111## to create disk images.
112#CLOUDWARE="AZURE OPENSTACK"
113