1#!/bin/sh 2#- 3# Copyright (c) 2013-2015 The FreeBSD Foundation 4# Copyright (c) 2013 Glen Barber 5# Copyright (c) 2011 Nathan Whitehorn 6# All rights reserved. 7# 8# Portions of this software were developed by Glen Barber --- 19 unchanged lines hidden (view full) --- 28# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30# SUCH DAMAGE. 31# 32# release.sh: check out source trees, and build release components with 33# totally clean, fresh trees. 34# Based on release/generate-release.sh written by Nathan Whitehorn 35# |
36# $FreeBSD: head/release/release.sh 279074 2015-02-20 18:51:52Z gjb $ |
37# 38 39PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" 40export PATH 41 42# Prototypes that can be redefined per-chroot or per-target. 43load_chroot_env() { } 44load_target_env() { } --- 43 unchanged lines hidden (view full) --- 88# Set to non-empty value to build dvd1.iso as part of the release. 89WITH_DVD= 90WITH_COMPRESSED_IMAGES= 91 92# Set to non-empty value to build virtual machine images as part of 93# the release. 94WITH_VMIMAGES= 95WITH_COMPRESSED_VMIMAGES= |
96XZ_THREADS=0 |
97 98# Set to non-empty value to build virtual machine images for various 99# cloud providers as part of the release. 100WITH_CLOUDWARE= 101 102usage() { 103 echo "Usage: $0 [-c release.conf]" 104 exit 1 --- 70 unchanged lines hidden (view full) --- 175CHROOT_MAKEENV="${CHROOT_MAKEENV} MAKEOBJDIRPREFIX=${CHROOTDIR}/tmp/obj" 176CHROOT_WMAKEFLAGS="${MAKE_FLAGS} ${WORLD_FLAGS} ${CONF_FILES}" 177CHROOT_IMAKEFLAGS="${CONF_FILES}" 178CHROOT_DMAKEFLAGS="${CONF_FILES}" 179RELEASE_WMAKEFLAGS="${MAKE_FLAGS} ${WORLD_FLAGS} ${ARCH_FLAGS} ${CONF_FILES}" 180RELEASE_KMAKEFLAGS="${MAKE_FLAGS} ${KERNEL_FLAGS} KERNCONF=\"${KERNEL}\" ${ARCH_FLAGS} ${CONF_FILES}" 181RELEASE_RMAKEFLAGS="${ARCH_FLAGS} KERNCONF=\"${KERNEL}\" ${CONF_FILES} \ 182 ${DOCPORTS} WITH_DVD=${WITH_DVD} WITH_VMIMAGES=${WITH_VMIMAGES} \ |
183 WITH_CLOUDWARE=${WITH_CLOUDWARE} XZ_THREADS=${XZ_THREADS}" |
184 185# Force src checkout if configured 186FORCE_SRC_KEY= 187if [ -n "${SRC_FORCE_CHECKOUT}" ]; then 188 FORCE_SRC_KEY="--force" 189fi 190 191if [ -z "${CHROOTDIR}" ]; then --- 98 unchanged lines hidden --- |