From owner-svn-src-head@FreeBSD.ORG Wed May 4 02:52:41 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 982CA106566C; Wed, 4 May 2011 02:52:41 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 86EBB8FC1A; Wed, 4 May 2011 02:52:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p442qflU027518; Wed, 4 May 2011 02:52:41 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p442qfI4027516; Wed, 4 May 2011 02:52:41 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201105040252.p442qfI4027516@svn.freebsd.org> From: Nathan Whitehorn Date: Wed, 4 May 2011 02:52:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221419 - head/release X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 02:52:41 -0000 Author: nwhitehorn Date: Wed May 4 02:52:41 2011 New Revision: 221419 URL: http://svn.freebsd.org/changeset/base/221419 Log: Make sure to run make obj before release. Trying to run them in one step doesn't always work reliably. Modified: head/release/generate-release.sh Modified: head/release/generate-release.sh ============================================================================== --- head/release/generate-release.sh Wed May 4 02:23:59 2011 (r221418) +++ head/release/generate-release.sh Wed May 4 02:52:41 2011 (r221419) @@ -60,6 +60,7 @@ if [ -d $2/usr/doc ]; then fi chroot $2 /bin/sh -c "cd /usr/src && make $MAKE_FLAGS buildworld buildkernel" || exit 1 +chroot $2 /bin/sh -c "cd /usr/src/release && make obj" || exit 1 chroot $2 /bin/sh -c "cd /usr/src/release && make release" || exit 1 chroot $2 /bin/sh -c "cd /usr/src/release && make install DESTDIR=/R" || exit 1