ceed11ef6c
the release/generate-release.sh script by nwhitehorn. This script can use optional configuration file to override defaults, making running multiple serialzied builds with different specific configurations or architecture-specific tunings quite easy. Sample overrideable options are included in the release.conf.sample file. Approved by: kib (mentor) MFC After: 2 weeks X-MFC-To: stable/9 only
42 lines
893 B
Bash
42 lines
893 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
## Set the directory within which the release will be built.
|
|
CHROOTDIR="/scratch"
|
|
|
|
## Set the svn host.
|
|
SVNROOT="svn://svn.FreeBSD.org"
|
|
|
|
## Set the src/, ports/, and doc/ branches or tags.
|
|
SRCBRANCH="base/head"
|
|
DOCBRANCH="doc/head"
|
|
PORTBRANCH="ports/head"
|
|
|
|
## Set the src/, ports/, and doc/ revisions.
|
|
SRCREVISION="-rHEAD"
|
|
DOCREVISION="-rHEAD"
|
|
PORTREVISION="-rHEAD"
|
|
|
|
## Set to override the default target architecture.
|
|
#TARGET="amd64"
|
|
#TARGET_ARCH="amd64"
|
|
#KERNEL="GENERIC"
|
|
|
|
## Set to specify a custom make.conf and/or src.conf
|
|
#MAKE_CONF="/etc/local/make.conf"
|
|
#SRC_CONF="/etc/local/src.conf"
|
|
|
|
## Set to use make(1) flags.
|
|
#MAKE_FLAGS="-s"
|
|
|
|
## Set to use world- and kernel-specific make(1) flags.
|
|
#WORLD_FLAGS="-j $(sysctl -n hw.ncpu)"
|
|
#KERNEL_FLAGS="-j $(expr $(sysctl -n hw.ncpu) / 2)"
|
|
|
|
## Set miscellaneous 'make release' settings.
|
|
#NODOC=
|
|
#NOPORTS=
|
|
#RELSTRING=
|