release.conf.sample revision 281802
10SN/A#!/bin/sh
2157SN/A#
30SN/A# $FreeBSD: head/release/release.conf.sample 281802 2015-04-21 00:48:35Z gjb $
40SN/A#
50SN/A
60SN/A## Redefine environment variables here to override prototypes
7157SN/A## defined in release.sh.
80SN/A#load_chroot_env() { }
9157SN/A#load_target_env() { }
100SN/A#buildenv_setup() { }
110SN/A
120SN/A## Set the directory within which the release will be built.
130SN/ACHROOTDIR="/scratch"
140SN/A
150SN/A## Set the svn host.
160SN/ASVNROOT="svn://svn.FreeBSD.org/"
170SN/A
180SN/A## Set the src/, ports/, and doc/ branches or tags.
190SN/ASRCBRANCH="base/head@rHEAD"
200SN/ADOCBRANCH="doc/head@rHEAD"
21157SN/APORTBRANCH="ports/head@rHEAD"
22157SN/A
23157SN/A## Run svn co --force for src checkout.
240SN/A#SRC_FORCE_CHECKOUT=yes
250SN/A
260SN/A## Sample configuration for using git instead of svn.
270SN/A#VCSCMD="/usr/local/bin/git clone --branch master"
280SN/A#SVNROOT=""
290SN/A#SRCBRANCH="https://github.com/freebsd/freebsd"
300SN/A#DOCBRANCH="https://github.com/freebsd/freebsd-doc"
310SN/A#PORTBRANCH="https://github.com/freebsd/freebsd-ports"
320SN/A
330SN/A## Set to override the default target architecture.
340SN/A#TARGET="amd64"
350SN/A#TARGET_ARCH="amd64"
360SN/A#KERNEL="GENERIC"
370SN/A## Multiple kernels may be set.
380SN/A#KERNEL="GENERIC XENHVM"
390SN/A
400SN/A## Set to specify a custom make.conf and/or src.conf
410SN/A#MAKE_CONF="/etc/local/make.conf"
420SN/A#SRC_CONF="/etc/local/src.conf"
430SN/A
440SN/A## Set to use make(1) flags.
450SN/A#MAKE_FLAGS="-s"
460SN/A
470SN/A## Set to use world- and kernel-specific make(1) flags.
480SN/A#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
490SN/A#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
500SN/A
510SN/A## Set miscellaneous 'make release' settings.
520SN/A#NODOC=
530SN/A#NOPORTS=
540SN/A#WITH_DVD=
550SN/A#WITH_COMPRESSED_IMAGES=
560SN/A
570SN/A## Set to '1' to disable multi-threaded xz(1) compression.
580SN/A#XZ_THREADS=0
590SN/A
600SN/A## Set when building embedded images.
610SN/A#EMBEDDEDBUILD=
620SN/A
630SN/A## Set to skip the chroot environment buildworld/installworld/distribution
640SN/A## step if it is expected the build environment will exist via alternate
650SN/A## means.
660SN/A#CHROOTBUILD_SKIP=
670SN/A
680SN/A## Set to a non-empty value skip checkout or update of /usr/src in
690SN/A## the chroot.  This is intended for use when /usr/src already exists.
700SN/A#SRC_UPDATE_SKIP=
710SN/A
720SN/A## Set to a non-empty value skip checkout or update of /usr/doc in
730SN/A## the chroot.  This is intended for use when /usr/doc already exists.
740SN/A#DOC_UPDATE_SKIP=
750SN/A
760SN/A## Set to a non-empty value skip checkout or update of /usr/ports in
770SN/A## the chroot.  This is intended for use when /usr/ports already exists.
780SN/A#PORTS_UPDATE_SKIP=
790SN/A
800SN/A## Set to pass additional flags to make(1) for the build chroot setup, such
810SN/A## as TARGET/TARGET_ARCH.
820SN/A#CHROOT_MAKEENV=
830SN/A
840SN/A## Set to a non-empty value to build virtual machine images as part of the
850SN/A## release build.
860SN/A#WITH_VMIMAGES=
870SN/A
880SN/A## Set to a non-empty value to compress virtual machine images with xz(1)
890SN/A## as part of the release build.
900SN/A#WITH_COMPRESSED_VMIMAGES=
910SN/A
920SN/A## If WITH_VMIMAGES is set to a non-empty value, this is the name of the
930SN/A## file to use for the installed userland/kernel.
940SN/A#VMBASE="vm"
950SN/A
960SN/A## If WITH_VMIMAGES is set to a non-empty value, this is the size of the
970SN/A## virtual machine disk filesystem.  Valid size values are described in
980SN/A## the truncate(1) manual page.
990SN/A#VMSIZE="20G"
1000SN/A
1010SN/A## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk
1020SN/A## image formats to create.  Valid values are listed in the mkimg(1)
1030SN/A## manual page, as well as 'mkimg --formats' output.
1040SN/A#VMFORMATS="vhdf vmdk qcow2 raw"
1050SN/A
1060SN/A## Set to a non-empty value to build virtual machine images for various
1070SN/A## cloud providers as part of the release build.
1080SN/A#WITH_CLOUDWARE=
1090SN/A
1100SN/A## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers
1110SN/A## to create disk images.
1120SN/A#CLOUDWARE="AZURE OPENSTACK"
1130SN/A