1#!/bin/sh
2#
3# $FreeBSD: stable/10/release/release.conf.sample 326534 2017-12-04 15:28:07Z gjb $
4#
5
6## Set the directory within which the release will be built.
7CHROOTDIR="/scratch"
8
9## Set the svn host.
10SVNROOT="svn://svn.FreeBSD.org/"
11
12## Set the src/, ports/, and doc/ branches or tags.
13SRCBRANCH="base/stable/10@rHEAD"
14DOCBRANCH="doc/head@rHEAD"
15PORTBRANCH="ports/head@rHEAD"
16
17## Run svn co --force for src checkout.
18#SRC_FORCE_CHECKOUT=yes
19
20## Sample configuration for using git instead of svn.
21#VCSCMD="/usr/local/bin/git clone --branch master"
22#SVNROOT=""
23#SRCBRANCH="https://github.com/freebsd/freebsd"
24#DOCBRANCH="https://github.com/freebsd/freebsd-doc"
25#PORTBRANCH="https://github.com/freebsd/freebsd-ports"
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#NODOC=
47#NOPORTS=
48#WITH_DVD=
49#WITH_COMPRESSED_IMAGES=
50
51## Set when building embedded images.
52#EMBEDDEDBUILD=
53
54## Set to a list of ports required to build embedded system-on-chip
55## images, such as sysutils/u-boot-rpi.
56#EMBEDDEDPORTS=
57
58## Set to the hardware platform of the target userland.  This value
59## is passed to make(1) to set the TARGET (value of uname -m) to cross
60## build.
61#EMBEDDED_TARGET=
62
63## Set to the machine processor architecture of the target userland.
64## This value is passed to make(1) to set the TARGET_ARCH (value of uname -p)
65## to cross build.
66#EMBEDDED_TARGET_ARCH=
67
68## Set to skip the chroot environment buildworld/installworld/distribution
69## step if it is expected the build environment will exist via alternate
70## means.
71#CHROOTBUILD_SKIP=
72
73## Set to a non-empty value skip checkout or update of /usr/src in
74## the chroot.  This is intended for use when /usr/src already exists.
75#SRC_UPDATE_SKIP=
76
77## Set to a non-empty value skip checkout or update of /usr/doc in
78## the chroot.  This is intended for use when /usr/doc already exists.
79#DOC_UPDATE_SKIP=
80
81## Set to a non-empty value skip checkout or update of /usr/ports in
82## the chroot.  This is intended for use when /usr/ports already exists.
83#PORTS_UPDATE_SKIP=
84
85## Set to pass additional flags to make(1) for the build chroot setup, such
86## as TARGET/TARGET_ARCH.
87#CHROOT_MAKEENV=
88
89## Set to a non-empty value to build virtual machine images as part of the
90## release build.
91#WITH_VMIMAGES=
92
93## Set to a non-empty value to compress virtual machine images with xz(1)
94## as part of the release build.
95#WITH_COMPRESSED_VMIMAGES=
96
97## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
98## file to use for the installed userland/kernel.
99#VMBASE="vm"
100
101## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
102## virtual machine disk filesystem.  Valid size values are described in
103## the truncate(1) manual page.
104#VMSIZE="20G"
105
106## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
107## image formats to create.  Valid values are listed in the mkimg(1)
108## manual page, as well as 'mkimg --formats' output.
109#VMFORMATS="vhdf vmdk qcow2 raw"
110
111## Set to a non-empty value to build virtual machine images for various
112## cloud providers as part of the release build.
113#WITH_CLOUDWARE=
114
115## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
116## to create disk images.
117#CLOUDWARE="AZURE OPENSTACK"
118