Pass SWAPSIZE in env(1) when invoking mk-vmimage.sh for the

vm-image target, missed in r308737.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-11-17 20:34:08 +00:00
parent e48b82bd83
commit 240e239505
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308779

View File

@ -89,7 +89,7 @@ vm-image:
.if defined(WITH_VMIMAGES) && !empty(WITH_VMIMAGES)
. for FORMAT in ${VMFORMATS}
mkdir -p ${.OBJDIR}/${.TARGET}
env TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
env TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} SWAPSIZE=${SWAPSIZE} \
${.CURDIR}/scripts/mk-vmimage.sh \
-C ${.CURDIR}/tools/vmimage.subr -d ${.OBJDIR}/${.TARGET} \
-i ${.OBJDIR}/${FORMAT}.img -s ${VMSIZE} -f ${FORMAT} \