FindPage
View Source:
KnowledgeBase/FreeBSD/MakeRelease
The release target uses the results of make buildworld to seed a chroot for release building. <strong>Release process was completely rewritten for 9+; these no longer apply!</strong> <code brush="bash"> cd /usr/src make buildworld </code> !! Build options BUILDNAME: The name of the release (usually '<release>-<arch>', i.e. '8.2-RELEASE-amd64'; if undefined, defaults to '<base>-<date>-SNAP', i.e. '8.2-20110611-SNAP') CHROOTDIR: Directory in which the chroot will be seeded and the release will be built (will be deleted before use) WORLD_FLAGS: Flags to pass to make buildworld (-j8) KERNEL_FLAGS: Flags to pass to make buildkernel (-j8) KERNELS_BASE: List of kernel configs to build KERNELS: I'm not sure. NODOC: Do not build documentation NOPORTS: Do not build ports for the release process or as packages for the release ISOs RELEASENOUPDATE: Do not update the src tree during make rerelease CD_PACKAGE_TREE: A tree of packages to include in the install CD images maybe? !!Location of sources: !Building from CVS: CVSROOT: Location of the CVS tree from which to check out the current sources RELEASETAG: CVS tag to check out CVSARGS: Arguments to pass to the CVS command CVSCMDARGS: Arguments to pass to the CVS subcommand invocation CVSPREFIX: Prefix the CVS command with another command !Building from SVN: SVNROOT: Location of the SVN tree from which to check out the current sources SVNBRANCH: SVN branch to check out SVNARGS: Arguments to pass to the SVN command SVNCMDARGS: Arguments to pass to the SVN subcommand invocation SVNPREFIX: Prefix the SVN command with another command !Building from local src tree: EXTSRCDIR: To test a release with a source tree containing patches and other work. This tree will get copied instead of getting the src/ tree from a CVS checkout. For 'rerelease', this will NOT be copied; cvs update will be used instead EXTPORTSDIR: To use a checked-out ports collection directory instead of checking out from a local CVS repository EXTDOCDIR: To use a checked-out doc/ directory instead of checking out from a local CVS repository !! Patching fresh sources LOCAL_PATCHES: Patch files to apply to the freshly checked out source tree before building PATCH_FLAGS: Flags to pass to the patch(1) command