svn commit: r264771 - user/cperciva/freebsd-update-build/scripts

Xin LI delphij at FreeBSD.org
Tue Apr 22 20:17:05 UTC 2014


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


More information about the svn-src-user mailing list