Pass SWAPSIZE in env(1) when invoking mk-vmimage.sh, otherwise

mkimg(1) does not create the second partition after r307008.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-11-16 18:08:50 +00:00
parent 1ad69dcca9
commit ea18fc2f0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308737

View file

@ -55,7 +55,7 @@ ${_CW:tu}CONF?= ${.CURDIR}/tools/${_CW:tl}.conf
cw-${_CW:tl}:
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}/${_CW:tl}.img -s ${VMSIZE} -f ${${_CW}_FORMAT} \