svn commit: r258848 - user/hrs/releng/release

Glen Barber gjb at FreeBSD.org
Mon Dec 2 14:51:06 UTC 2013


On Mon, Dec 02, 2013 at 02:40:26PM +0000, Hiroki Sato wrote:
> Author: hrs
> Date: Mon Dec  2 14:40:26 2013
> New Revision: 258848
> URL: http://svnweb.freebsd.org/changeset/base/258848
> 
> Log:
>   Improve robustness and consistency, and remove redundant lines with no
>   major functional change:

> [...]

> +if [ $($ID -u) -ne 0 ]; then
> +	echo 1>&2 "$0: Needs to be run as root."
> +	exit 1
> +fi
>  # The directory within which the release will be built.
> -CHROOTDIR="/scratch"
> +: ${CHROOTDIR:=/scratch}
> +: ${CHROOT_CMD:=chroot $CHROOTDIR}
> +: ${DESTDIR=:/R/}
> +: ${MAKEOBJDIRPREFIX:=/usr/obj}
>  

Please do not merge these changes to head/.  It was intentional that
environment was not honored, as everything should be set in the
configuration file.

It is possible to use the environment in the configuration file, such
as:

---- release.conf ----
: ${_DESTDIR=:/R/}
DESTDIR=${_DESTDIR}
---- release.conf ----

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-user/attachments/20131202/fe0d2237/attachment.sig>


More information about the svn-src-user mailing list