This section describes the general procedures of the FreeBSD
release cycle from the head/ branch.
Starting with the FreeBSD 10.0-RELEASE cycle, the notion
of “ALPHA” builds was
introduced. Unlike the BETA and
RC builds, ALPHA builds
are not included in the FreeBSD Release schedule.
The idea behind ALPHA builds is to
provide regular FreeBSD-provided builds before the creation of the
stable/ branch.
FreeBSD ALPHA snapshots should be built
approximately once a week.
For the first ALPHA build, the
BRANCH value in
sys/conf/newvers.sh needs to be changed
from CURRENT to ALPHA1.
For subsequent ALPHA builds, increment each
ALPHA value by
one.N
See Section 7, “Building FreeBSD Installation Media” for information on
building the ALPHA images.
When creating the stable/ branch, several changes
are required in both the new stable/ branch and the
head/ branch. The files listed are relative to the
repository root. To create the new stable/ branch
in Subversion:11/
%svn cp ^/headstable/11/
Once the stable/ branch has been committed, make
the following edits:11/
| File to Edit | What to Change |
|---|---|
stable/ | Update the FreeBSD version, and remove the notice
about WITNESS |
stable/ | #ifndef MALLOC_PRODUCTION #define MALLOC_PRODUCTION #endif |
stable/ | Remove debugging support |
stable/ | Update SRCBRANCH |
stable/ | Remove these kernel configurations |
stable/ | Update the BRANCH value to
reflect BETA1 |
Then in the head/ branch, which will now become
a new major version:
| File to Edit | What to Change |
|---|---|
head/UPDATING | Update the FreeBSD version |
head/gnu/usr.bin/groff/tmac/mdoc.local.in | Add the new FreeBSD version |
head/sys/conf/newvers.sh | Update the BRANCH value to
reflect CURRENT, and increment
REVISION |
head/Makefile.inc1 | Update TARGET_TRIPLE |
head/sys/sys/param.h | Update __FreeBSD_version |
head/contrib/llvm/tools/clang/lib/Basic/Targets.cpp | Update
__FreeBSD_cc_version |
head/gnu/usr.bin/cc/cc_tools/freebsd-native.h | Update FBSD_MAJOR and
FBSD_CC_VER |
head/contrib/gcc/config.gcc | Append the
freebsd<version>.h
section |
head/release/Makefile | Remove the
debug.witness.trace entries |
head/release/doc/en_US.ISO8859-1/readme/article.xml | Replace &a.current; with &a.stable; |
head/lib/clang/clang.build.mk | Uncomment -DNDEBUG |
head/lib/clang/freebsd_cc_version.h | Update
FREEBSD_CC_VERSION |
All FreeBSD documents are available for download at https://download.freebsd.org/ftp/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.