1#!/bin/sh
2#
3# $FreeBSD$
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 skip the chroot environment buildworld/installworld/distribution
55## step if it is expected the build environment will exist via alternate
56## means.
57#CHROOTBUILD_SKIP=
58
59## Set to a non-empty value skip checkout or update of /usr/src in
60## the chroot.  This is intended for use when /usr/src already exists.
61#SRC_UPDATE_SKIP=
62
63## Set to a non-empty value skip checkout or update of /usr/doc in
64## the chroot.  This is intended for use when /usr/doc already exists.
65#DOC_UPDATE_SKIP=
66
67## Set to a non-empty value skip checkout or update of /usr/ports in
68## the chroot.  This is intended for use when /usr/ports already exists.
69#PORTS_UPDATE_SKIP=
70
71## Set to pass additional flags to make(1) for the build chroot setup, such
72## as TARGET/TARGET_ARCH.
73#CHROOT_MAKEENV=
74
75## Set to a non-empty value to build virtual machine images as part of the
76## release build.
77#WITH_VMIMAGES=
78
79## Set to a non-empty value to compress virtual machine images with xz(1)
80## as part of the release build.
81#WITH_COMPRESSED_VMIMAGES=
82
83## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
84## file to use for the installed userland/kernel.
85#VMBASE="vm"
86
87## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
88## virtual machine disk filesystem.  Valid size values are described in
89## the truncate(1) manual page.
90#VMSIZE="20G"
91
92## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
93## image formats to create.  Valid values are listed in the mkimg(1)
94## manual page, as well as 'mkimg --formats' output.
95#VMFORMATS="vhdf vmdk qcow2 raw"
96