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