release.conf.sample revision 269639
1251652Sgjb#!/bin/sh 2251652Sgjb# 3251652Sgjb# $FreeBSD: head/release/release.conf.sample 269639 2014-08-06 19:04:05Z gjb $ 4251652Sgjb# 5251652Sgjb 6269639Sgjb# Redefine environment variables here to override prototypes 7269639Sgjb# defined in release.sh. 8269639Sgjbload_chroot_env() { } 9269639Sgjbload_target_env() { } 10269639Sgjb 11251652Sgjb## Set the directory within which the release will be built. 12251652SgjbCHROOTDIR="/scratch" 13251652Sgjb 14251652Sgjb## Set the svn host. 15262499SgjbSVNROOT="svn://svn.FreeBSD.org/" 16251652Sgjb 17251652Sgjb## Set the src/, ports/, and doc/ branches or tags. 18254293SgjbSRCBRANCH="base/head@rHEAD" 19254293SgjbDOCBRANCH="doc/head@rHEAD" 20254293SgjbPORTBRANCH="ports/head@rHEAD" 21251652Sgjb 22252846Sgjb## Run svn co --force for src checkout. 23252846Sgjb#SRC_FORCE_CHECKOUT=yes 24252846Sgjb 25262499Sgjb## Sample configuration for using git instead of svn. 26262499Sgjb#VCSCMD="/usr/local/bin/git clone --branch master" 27262499Sgjb#SVNROOT="" 28262499Sgjb#SRCBRANCH="https://github.com/freebsd/freebsd" 29262499Sgjb#DOCBRANCH="https://github.com/freebsd/freebsd-doc" 30262499Sgjb#PORTBRANCH="https://github.com/freebsd/freebsd-ports" 31262499Sgjb 32251652Sgjb## Set to override the default target architecture. 33251652Sgjb#TARGET="amd64" 34251652Sgjb#TARGET_ARCH="amd64" 35251652Sgjb#KERNEL="GENERIC" 36252846Sgjb## Multiple kernels may be set. 37252846Sgjb#KERNEL="GENERIC XENHVM" 38251652Sgjb 39251652Sgjb## Set to specify a custom make.conf and/or src.conf 40251652Sgjb#MAKE_CONF="/etc/local/make.conf" 41251652Sgjb#SRC_CONF="/etc/local/src.conf" 42251652Sgjb 43251652Sgjb## Set to use make(1) flags. 44251652Sgjb#MAKE_FLAGS="-s" 45251652Sgjb 46251652Sgjb## Set to use world- and kernel-specific make(1) flags. 47251652Sgjb#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)" 48262513Sgjb#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))" 49251652Sgjb 50251652Sgjb## Set miscellaneous 'make release' settings. 51251652Sgjb#NODOC= 52251652Sgjb#NOPORTS= 53259079Sgjb#WITH_DVD= 54264027Sgjb#WITH_COMPRESSED_IMAGES= 55262810Sgjb 56262810Sgjb## Set when building embedded images. 57262810Sgjb#EMBEDDEDBUILD= 58262810Sgjb 59262810Sgjb## Set to skip the chroot environment buildworld/installworld/distribution 60262810Sgjb## step if it is expected the build environment will exist via alternate 61262810Sgjb## means. 62262810Sgjb#CHROOTBUILD_SKIP= 63262810Sgjb 64264343Sgjb## Set to a non-empty value skip checkout or update of /usr/src in 65264343Sgjb## the chroot. This is intended for use when /usr/src already exists. 66264343Sgjb#SRC_UPDATE_SKIP= 67264343Sgjb 68264343Sgjb## Set to a non-empty value skip checkout or update of /usr/doc in 69264343Sgjb## the chroot. This is intended for use when /usr/doc already exists. 70264343Sgjb#DOC_UPDATE_SKIP= 71264343Sgjb 72264343Sgjb## Set to a non-empty value skip checkout or update of /usr/ports in 73264343Sgjb## the chroot. This is intended for use when /usr/ports already exists. 74264343Sgjb#PORTS_UPDATE_SKIP= 75264343Sgjb 76262810Sgjb## Set to pass additional flags to make(1) for the build chroot setup, such 77262810Sgjb## as TARGET/TARGET_ARCH. 78262810Sgjb#CHROOT_MAKEENV= 79262810Sgjb 80