release.conf.sample revision 278985
1219732Sume#!/bin/sh 2219732Sume# 3219732Sume# $FreeBSD: stable/10/release/release.conf.sample 278985 2015-02-19 03:57:47Z gjb $ 4219732Sume# 5219732Sume 6219732Sume## Set the directory within which the release will be built. 7219732SumeCHROOTDIR="/scratch" 8219732Sume 9219732Sume## Set the svn host. 10219732SumeSVNROOT="svn://svn.FreeBSD.org/" 11219732Sume 12219732Sume## Set the src/, ports/, and doc/ branches or tags. 13219732SumeSRCBRANCH="base/stable/10@rHEAD" 14219732SumeDOCBRANCH="doc/head@rHEAD" 15219732SumePORTBRANCH="ports/head@rHEAD" 16219732Sume 17219732Sume## Run svn co --force for src checkout. 18219732Sume#SRC_FORCE_CHECKOUT=yes 19219732Sume 20219732Sume## Sample configuration for using git instead of svn. 21219732Sume#VCSCMD="/usr/local/bin/git clone --branch master" 22219732Sume#SVNROOT="" 23219732Sume#SRCBRANCH="https://github.com/freebsd/freebsd" 24219732Sume#DOCBRANCH="https://github.com/freebsd/freebsd-doc" 25219732Sume#PORTBRANCH="https://github.com/freebsd/freebsd-ports" 26219732Sume 27219732Sume## Set to override the default target architecture. 28219732Sume#TARGET="amd64" 29219732Sume#TARGET_ARCH="amd64" 30219732Sume#KERNEL="GENERIC" 31219732Sume## Multiple kernels may be set. 32219732Sume#KERNEL="GENERIC XENHVM" 33225524Shrs 34225524Shrs## Set to specify a custom make.conf and/or src.conf 35219732Sume#MAKE_CONF="/etc/local/make.conf" 36219732Sume#SRC_CONF="/etc/local/src.conf" 37219732Sume 38219732Sume## Set to use make(1) flags. 39219732Sume#MAKE_FLAGS="-s" 40219732Sume 41219732Sume## Set to use world- and kernel-specific make(1) flags. 42219732Sume#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" 43219732Sume#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))" 44219732Sume 45219732Sume## Set miscellaneous 'make release' settings. 46219732Sume#NODOC= 47219732Sume#NOPORTS= 48219732Sume#WITH_DVD= 49219732Sume#WITH_COMPRESSED_IMAGES= 50219732Sume 51219732Sume## Set when building embedded images. 52219732Sume#EMBEDDEDBUILD= 53219732Sume 54219732Sume## Set to skip the chroot environment buildworld/installworld/distribution 55219732Sume## step if it is expected the build environment will exist via alternate 56219732Sume## means. 57219732Sume#CHROOTBUILD_SKIP= 58219732Sume 59219732Sume## Set to a non-empty value skip checkout or update of /usr/src in 60219732Sume## the chroot. This is intended for use when /usr/src already exists. 61219732Sume#SRC_UPDATE_SKIP= 62219732Sume 63219732Sume## Set to a non-empty value skip checkout or update of /usr/doc in 64219732Sume## the chroot. This is intended for use when /usr/doc already exists. 65219732Sume#DOC_UPDATE_SKIP= 66219732Sume 67219732Sume## Set to a non-empty value skip checkout or update of /usr/ports in 68219732Sume## the chroot. This is intended for use when /usr/ports already exists. 69219732Sume#PORTS_UPDATE_SKIP= 70219732Sume 71219732Sume## Set to pass additional flags to make(1) for the build chroot setup, such 72219732Sume## as TARGET/TARGET_ARCH. 73219732Sume#CHROOT_MAKEENV= 74219732Sume 75219732Sume## Set to a non-empty value to build virtual machine images as part of the 76219732Sume## release build. 77219732Sume#WITH_VMIMAGES= 78219732Sume 79219732Sume## Set to a non-empty value to compress virtual machine images with xz(1) 80219732Sume## as part of the release build. 81219732Sume#WITH_COMPRESSED_VMIMAGES= 82219732Sume 83219732Sume## If WITH_VMIMAGES is set to a non-empty value, this is the name of the 84219732Sume## file to use for the installed userland/kernel. 85219732Sume#VMBASE="vm" 86219732Sume 87219732Sume## If WITH_VMIMAGES is set to a non-empty value, this is the size of the 88219732Sume## virtual machine disk filesystem. Valid size values are described in 89219732Sume## the truncate(1) manual page. 90219732Sume#VMSIZE="20G" 91219732Sume 92219732Sume## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk 93219732Sume## image formats to create. Valid values are listed in the mkimg(1) 94219732Sume## manual page, as well as 'mkimg --formats' output. 95219732Sume#VMFORMATS="vhdf vmdk qcow2 raw" 96219732Sume 97219732Sume## Set to a non-empty value to build virtual machine images for various 98219732Sume## cloud providers as part of the release build. 99219732Sume#WITH_CLOUDWARE= 100219732Sume 101219732Sume## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers 102219732Sume## to create disk images. 103219732Sume#CLOUDWARE="AZURE OPENSTACK" 104219732Sume