1#!/bin/sh 2# 3# $FreeBSD$ 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