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