release.sh (c6750673bfab84300bb23ff9d84b52066eac860f) release.sh (256bf4121c2621996e624c9d2c9dbaf9f020a247)
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

--- 273 unchanged lines hidden (view full) ---

282 chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \
283 ${PBUILD_FLAGS} OPTIONS_UNSET="FOP IGOR" \
284 FORCE_PKG_REGISTER=1 \
285 install clean distclean
286 fi
287 fi
288
289 if [ ! -z "${EMBEDDEDPORTS}" ]; then
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

--- 273 unchanged lines hidden (view full) ---

282 chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \
283 ${PBUILD_FLAGS} OPTIONS_UNSET="FOP IGOR" \
284 FORCE_PKG_REGISTER=1 \
285 install clean distclean
286 fi
287 fi
288
289 if [ ! -z "${EMBEDDEDPORTS}" ]; then
290 _OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
291 REVISION=$(chroot ${CHROOTDIR} make -C /usr/src/release -V REVISION)
292 BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH)
293 PBUILD_FLAGS="OSVERSION=${_OSVERSION} BATCH=yes"
294 PBUILD_FLAGS="${PBUILD_FLAGS} UNAME_r=${UNAME_r}"
295 PBUILD_FLAGS="${PBUILD_FLAGS} OSREL=${REVISION}"
290 for _PORT in ${EMBEDDEDPORTS}; do
291 eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
296 for _PORT in ${EMBEDDEDPORTS}; do
297 eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \
292 BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean
298 FORCE_PKG_REGISTER=1 ${PBUILD_FLAGS} install clean distclean
293 done
294 fi
295
296 buildenv_setup
297
298 return 0
299} # extra_chroot_setup()
300

--- 113 unchanged lines hidden ---
299 done
300 fi
301
302 buildenv_setup
303
304 return 0
305} # extra_chroot_setup()
306

--- 113 unchanged lines hidden ---