aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.vm
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2016-11-17 20:34:08 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-11-17 20:34:08 +0000
commit240e2395058e5bb342c5cec50fb6e685d60aed81 (patch)
treed96f80c2449c26e54be05348a2b1dfe25d917697 /release/Makefile.vm
parente48b82bd83d575969153661a3b4c9d83187bdfa7 (diff)
downloadsrc-240e2395058e5bb342c5cec50fb6e685d60aed81.tar.gz
src-240e2395058e5bb342c5cec50fb6e685d60aed81.zip
Pass SWAPSIZE in env(1) when invoking mk-vmimage.sh for the
vm-image target, missed in r308737. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=308779
Diffstat (limited to 'release/Makefile.vm')
-rw-r--r--release/Makefile.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm
index eab4a1e956a9..caca7cfa657b 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -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} \