aboutsummaryrefslogtreecommitdiff
path: root/release/release.conf.sample
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-06-12 13:15:28 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-06-12 13:15:28 +0000
commit62fed16cb9c716eb8f4685635f3e28852f8ccff5 (patch)
tree0d9ef4f8969a984f68c446d9761267cbacc2819a /release/release.conf.sample
parentce4bc82d197d8c3b7ff7f4cae17c82ce6d490227 (diff)
downloadsrc-62fed16cb9c716eb8f4685635f3e28852f8ccff5.tar.gz
src-62fed16cb9c716eb8f4685635f3e28852f8ccff5.zip
Add new script to run release builds. The script is heavily based upon
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
Notes
Notes: svn path=/head/; revision=251652
Diffstat (limited to 'release/release.conf.sample')
-rw-r--r--release/release.conf.sample41
1 files changed, 41 insertions, 0 deletions
diff --git a/release/release.conf.sample b/release/release.conf.sample
new file mode 100644
index 000000000000..918e024fafb3
--- /dev/null
+++ b/release/release.conf.sample
@@ -0,0 +1,41 @@
+#!/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=