release.conf.sample revision 326534
1220604Sjkim#!/bin/sh 2220604Sjkim# 3220604Sjkim# $FreeBSD: stable/10/release/release.conf.sample 326534 2017-12-04 15:28:07Z gjb $ 4220604Sjkim# 5220604Sjkim 6220604Sjkim## Set the directory within which the release will be built. 7220604SjkimCHROOTDIR="/scratch" 8220604Sjkim 9306536Sjkim## Set the svn host. 10220604SjkimSVNROOT="svn://svn.FreeBSD.org/" 11220604Sjkim 12220604Sjkim## Set the src/, ports/, and doc/ branches or tags. 13220604SjkimSRCBRANCH="base/stable/10@rHEAD" 14220604SjkimDOCBRANCH="doc/head@rHEAD" 15220604SjkimPORTBRANCH="ports/head@rHEAD" 16220604Sjkim 17220604Sjkim## Run svn co --force for src checkout. 18220604Sjkim#SRC_FORCE_CHECKOUT=yes 19220604Sjkim 20220604Sjkim## Sample configuration for using git instead of svn. 21220604Sjkim#VCSCMD="/usr/local/bin/git clone --branch master" 22220604Sjkim#SVNROOT="" 23220604Sjkim#SRCBRANCH="https://github.com/freebsd/freebsd" 24220604Sjkim#DOCBRANCH="https://github.com/freebsd/freebsd-doc" 25220604Sjkim#PORTBRANCH="https://github.com/freebsd/freebsd-ports" 26220604Sjkim 27220604Sjkim## Set to override the default target architecture. 28220604Sjkim#TARGET="amd64" 29220604Sjkim#TARGET_ARCH="amd64" 30220604Sjkim#KERNEL="GENERIC" 31220604Sjkim## Multiple kernels may be set. 32220604Sjkim#KERNEL="GENERIC XENHVM" 33220604Sjkim 34220604Sjkim## Set to specify a custom make.conf and/or src.conf 35220604Sjkim#MAKE_CONF="/etc/local/make.conf" 36220604Sjkim#SRC_CONF="/etc/local/src.conf" 37220604Sjkim 38220604Sjkim## Set to use make(1) flags. 39220604Sjkim#MAKE_FLAGS="-s" 40220604Sjkim 41220604Sjkim## Set to use world- and kernel-specific make(1) flags. 42220604Sjkim#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" 43220604Sjkim#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))" 44220604Sjkim 45220663Sjkim## Set miscellaneous 'make release' settings. 46220663Sjkim#NODOC= 47220604Sjkim#NOPORTS= 48220681Sjkim#WITH_DVD= 49220604Sjkim#WITH_COMPRESSED_IMAGES= 50220604Sjkim 51306536Sjkim## Set when building embedded images. 52306536Sjkim#EMBEDDEDBUILD= 53306536Sjkim 54306536Sjkim## Set to a list of ports required to build embedded system-on-chip 55306536Sjkim## images, such as sysutils/u-boot-rpi. 56306536Sjkim#EMBEDDEDPORTS= 57306536Sjkim 58220681Sjkim## Set to the hardware platform of the target userland. This value 59220681Sjkim## is passed to make(1) to set the TARGET (value of uname -m) to cross 60220681Sjkim## build. 61220681Sjkim#EMBEDDED_TARGET= 62220681Sjkim 63220604Sjkim## Set to the machine processor architecture of the target userland. 64220681Sjkim## This value is passed to make(1) to set the TARGET_ARCH (value of uname -p) 65220604Sjkim## to cross build. 66220681Sjkim#EMBEDDED_TARGET_ARCH= 67220681Sjkim 68220681Sjkim## Set to skip the chroot environment buildworld/installworld/distribution 69220681Sjkim## step if it is expected the build environment will exist via alternate 70220681Sjkim## means. 71220681Sjkim#CHROOTBUILD_SKIP= 72220681Sjkim 73233250Sjkim## Set to a non-empty value skip checkout or update of /usr/src in 74233250Sjkim## the chroot. This is intended for use when /usr/src already exists. 75233250Sjkim#SRC_UPDATE_SKIP= 76233250Sjkim 77220604Sjkim## Set to a non-empty value skip checkout or update of /usr/doc in 78220604Sjkim## the chroot. This is intended for use when /usr/doc already exists. 79220604Sjkim#DOC_UPDATE_SKIP= 80220604Sjkim 81220604Sjkim## Set to a non-empty value skip checkout or update of /usr/ports in 82220604Sjkim## the chroot. This is intended for use when /usr/ports already exists. 83220604Sjkim#PORTS_UPDATE_SKIP= 84220604Sjkim 85220681Sjkim## Set to pass additional flags to make(1) for the build chroot setup, such 86220681Sjkim## as TARGET/TARGET_ARCH. 87220604Sjkim#CHROOT_MAKEENV= 88220604Sjkim 89220604Sjkim## Set to a non-empty value to build virtual machine images as part of the 90220604Sjkim## release build. 91220604Sjkim#WITH_VMIMAGES= 92220604Sjkim 93220604Sjkim## Set to a non-empty value to compress virtual machine images with xz(1) 94220604Sjkim## as part of the release build. 95220604Sjkim#WITH_COMPRESSED_VMIMAGES= 96220604Sjkim 97220604Sjkim## If WITH_VMIMAGES is set to a non-empty value, this is the name of the 98220604Sjkim## file to use for the installed userland/kernel. 99220604Sjkim#VMBASE="vm" 100220604Sjkim 101220604Sjkim## If WITH_VMIMAGES is set to a non-empty value, this is the size of the 102220604Sjkim## virtual machine disk filesystem. Valid size values are described in 103220604Sjkim## the truncate(1) manual page. 104220604Sjkim#VMSIZE="20G" 105220604Sjkim 106220604Sjkim## If WITH_VMIMAGES is set to a non-empty value, this is a list of disk 107220604Sjkim## image formats to create. Valid values are listed in the mkimg(1) 108220604Sjkim## manual page, as well as 'mkimg --formats' output. 109220604Sjkim#VMFORMATS="vhdf vmdk qcow2 raw" 110220604Sjkim 111220604Sjkim## Set to a non-empty value to build virtual machine images for various 112220604Sjkim## cloud providers as part of the release build. 113220604Sjkim#WITH_CLOUDWARE= 114220604Sjkim 115220604Sjkim## If WITH_CLOUDWARE is set to a non-empty value, this is a list of providers 116220604Sjkim## to create disk images. 117220604Sjkim#CLOUDWARE="AZURE OPENSTACK" 118220604Sjkim