Author: gjb
Date: Thu Nov 17 20:34:08 2016
New Revision: 308779
URL: https://svnweb.freebsd.org/changeset/base/308779

Log:
  Pass SWAPSIZE in env(1) when invoking mk-vmimage.sh for the
  vm-image target, missed in r308737.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/release/Makefile.vm

Modified: head/release/Makefile.vm
==============================================================================
--- head/release/Makefile.vm    Thu Nov 17 20:32:32 2016        (r308778)
+++ head/release/Makefile.vm    Thu Nov 17 20:34:08 2016        (r308779)
@@ -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} \
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to