release.conf.sample revision 279074
1#!/bin/sh
2#
3# $FreeBSD: head/release/release.conf.sample 279074 2015-02-20 18:51:52Z gjb $
4#
5
6## Redefine environment variables here to override prototypes
7## defined in release.sh.
8#load_chroot_env() { }
9#load_target_env() { }
10
11## Set the directory within which the release will be built.
12CHROOTDIR="/scratch"
13
14## Set the svn host.
15SVNROOT="svn://svn.FreeBSD.org/"
16
17## Set the src/, ports/, and doc/ branches or tags.
18SRCBRANCH="base/head@rHEAD"
19DOCBRANCH="doc/head@rHEAD"
20PORTBRANCH="ports/head@rHEAD"
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
32## Set to override the default target architecture.
33#TARGET="amd64"
34#TARGET_ARCH="amd64"
35#KERNEL="GENERIC"
36## Multiple kernels may be set.
37#KERNEL="GENERIC XENHVM"
38
39## Set to specify a custom make.conf and/or src.conf
40#MAKE_CONF="/etc/local/make.conf"
41#SRC_CONF="/etc/local/src.conf"
42
43## Set to use make(1) flags.
44#MAKE_FLAGS="-s"
45
46## Set to use world- and kernel-specific make(1) flags.
47#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
48#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
49
50## Set miscellaneous 'make release' settings.
51#NODOC=
52#NOPORTS=
53#WITH_DVD=
54#WITH_COMPRESSED_IMAGES=
55
56## Set to '1' to disable multi-threaded xz(1) compression.
57#XZ_THREADS=0
58
59## Set when building embedded images.
60#EMBEDDEDBUILD=
61
62## Set to skip the chroot environment buildworld/installworld/distribution
63## step if it is expected the build environment will exist via alternate
64## means.
65#CHROOTBUILD_SKIP=
66
67## Set to a non-empty value skip checkout or update of /usr/src in
68## the chroot.  This is intended for use when /usr/src already exists.
69#SRC_UPDATE_SKIP=
70
71## Set to a non-empty value skip checkout or update of /usr/doc in
72## the chroot.  This is intended for use when /usr/doc already exists.
73#DOC_UPDATE_SKIP=
74
75## Set to a non-empty value skip checkout or update of /usr/ports in
76## the chroot.  This is intended for use when /usr/ports already exists.
77#PORTS_UPDATE_SKIP=
78
79## Set to pass additional flags to make(1) for the build chroot setup, such
80## as TARGET/TARGET_ARCH.
81#CHROOT_MAKEENV=
82
83## Set to a non-empty value to build virtual machine images as part of the
84## release build.
85#WITH_VMIMAGES=
86
87## Set to a non-empty value to compress virtual machine images with xz(1)
88## as part of the release build.
89#WITH_COMPRESSED_VMIMAGES=
90
91## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
92## file to use for the installed userland/kernel.
93#VMBASE="vm"
94
95## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
96## virtual machine disk filesystem.  Valid size values are described in
97## the truncate(1) manual page.
98#VMSIZE="20G"
99
100## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
101## image formats to create.  Valid values are listed in the mkimg(1)
102## manual page, as well as 'mkimg --formats' output.
103#VMFORMATS="vhdf vmdk qcow2 raw"
104
105## Set to a non-empty value to build virtual machine images for various
106## cloud providers as part of the release build.
107#WITH_CLOUDWARE=
108
109## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
110## to create disk images.
111#CLOUDWARE="AZURE OPENSTACK"
112