Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 20:17:05 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r264771 - user/cperciva/freebsd-update-build/scripts
Message-ID:  <201404222017.s3MKH5EO011978@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Apr 22 20:17:05 2014
New Revision: 264771
URL: http://svnweb.freebsd.org/changeset/base/264771

Log:
  Allow building i386 images on amd64 host.

Modified:
  user/cperciva/freebsd-update-build/scripts/build.subr

Modified: user/cperciva/freebsd-update-build/scripts/build.subr
==============================================================================
--- user/cperciva/freebsd-update-build/scripts/build.subr	Tue Apr 22 18:55:21 2014	(r264770)
+++ user/cperciva/freebsd-update-build/scripts/build.subr	Tue Apr 22 20:17:05 2014	(r264771)
@@ -349,7 +349,7 @@ extractiso () {
 
 	# If the release ISO we're handling belongs to the platform
 	# we're running right now, create a world image for future use.
-	if [ ${TARGET} = ${HOSTPLATFORM} ]; then
+	if [ ${TARGET} = ${HOSTPLATFORM} ] || [ "${HOSTPLATFORM}" = "amd64" -a "${TARGET}" = "i386" ]; then
 		log "Constructing world+src image"
 
 		# Create directory for world



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404222017.s3MKH5EO011978>