2013-06-12 14:15:28 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
## Set the directory within which the release will be built.
|
|
|
|
CHROOTDIR="/scratch"
|
|
|
|
|
|
|
|
## Set the svn host.
|
MFC r262499, r262505, r262507, r262509:
r262499:
release.sh:
- Add a VCSCMD variable that defaults to 'svn checkout',
and update places 'svn co' is used directly.
- After sourcing a configuration file, prefix SRCBRANCH,
PORTBRANCH, and DOCBRANCH with the SVNROOT.
- Properly capitalize 'FreeBSD.org' in the default SVNROOT.
- Update Copyright.
release.conf.sample:
- Add an example to use git instead of svn, by nullifying
SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
to the URL fo a git repository.
release.7:
- Document VCSCMD.
r262505:
In release/Makefile, remove exclusion of CVS directories in the
src/ and ports/ distributions.
While I am thinking about it, exclude .git directories for src/
and ports/, as somewhat of a followup to r262499.
r262507:
Chase r262505, and remove CVS exclusion from picobsd builds.
r262509:
Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
unnecessary expr(1) call.
Sponsored by: The FreeBSD Foundation
2014-03-05 00:45:28 +00:00
|
|
|
SVNROOT="svn://svn.FreeBSD.org/"
|
2013-06-12 14:15:28 +01:00
|
|
|
|
|
|
|
## Set the src/, ports/, and doc/ branches or tags.
|
2013-08-13 21:16:14 +01:00
|
|
|
SRCBRANCH="base/head@rHEAD"
|
|
|
|
DOCBRANCH="doc/head@rHEAD"
|
|
|
|
PORTBRANCH="ports/head@rHEAD"
|
2013-06-12 14:15:28 +01:00
|
|
|
|
2013-07-05 23:04:49 +01:00
|
|
|
## Run svn co --force for src checkout.
|
|
|
|
#SRC_FORCE_CHECKOUT=yes
|
|
|
|
|
MFC r262499, r262505, r262507, r262509:
r262499:
release.sh:
- Add a VCSCMD variable that defaults to 'svn checkout',
and update places 'svn co' is used directly.
- After sourcing a configuration file, prefix SRCBRANCH,
PORTBRANCH, and DOCBRANCH with the SVNROOT.
- Properly capitalize 'FreeBSD.org' in the default SVNROOT.
- Update Copyright.
release.conf.sample:
- Add an example to use git instead of svn, by nullifying
SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
to the URL fo a git repository.
release.7:
- Document VCSCMD.
r262505:
In release/Makefile, remove exclusion of CVS directories in the
src/ and ports/ distributions.
While I am thinking about it, exclude .git directories for src/
and ports/, as somewhat of a followup to r262499.
r262507:
Chase r262505, and remove CVS exclusion from picobsd builds.
r262509:
Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
unnecessary expr(1) call.
Sponsored by: The FreeBSD Foundation
2014-03-05 00:45:28 +00:00
|
|
|
## Sample configuration for using git instead of svn.
|
|
|
|
#VCSCMD="/usr/local/bin/git clone --branch master"
|
|
|
|
#SVNROOT=""
|
|
|
|
#SRCBRANCH="https://github.com/freebsd/freebsd"
|
|
|
|
#DOCBRANCH="https://github.com/freebsd/freebsd-doc"
|
|
|
|
#PORTBRANCH="https://github.com/freebsd/freebsd-ports"
|
|
|
|
|
2013-06-12 14:15:28 +01:00
|
|
|
## Set to override the default target architecture.
|
|
|
|
#TARGET="amd64"
|
|
|
|
#TARGET_ARCH="amd64"
|
|
|
|
#KERNEL="GENERIC"
|
2013-07-05 23:04:49 +01:00
|
|
|
## Multiple kernels may be set.
|
|
|
|
#KERNEL="GENERIC XENHVM"
|
2013-06-12 14:15:28 +01:00
|
|
|
|
|
|
|
## 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)"
|
2014-03-05 17:23:29 +00:00
|
|
|
#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
|
2013-06-12 14:15:28 +01:00
|
|
|
|
|
|
|
## Set miscellaneous 'make release' settings.
|
|
|
|
#NODOC=
|
|
|
|
#NOPORTS=
|
|
|
|
#RELSTRING=
|
2013-12-10 00:35:33 +00:00
|
|
|
#WITH_DVD=
|