mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
release: Don't fail if one VM image fails
Replace "mk-vmimage.sh" with "mk-vmimage.sh || true" so that a single
VM image failing doesn't result in the entire release build dying.
Fixes: 611c1457ff ("release: Add set -e to abort upon failure")
This commit is contained in:
parent
258108949e
commit
609720ed97
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ cw-${_CW:tl}-${_FS}-${_FMT}: ${QEMUTGT}
|
|||
-C ${.CURDIR}/tools/vmimage.subr -d ${.OBJDIR}/${.TARGET} \
|
||||
-F ${"${_CW:MEC2-BUILDER}" != "":?ufs:${_FS}} \
|
||||
-i ${.OBJDIR}/${_CW:tl}.${_FS}.${_FMT}.img -s ${VMSIZE} -f ${_FMT} \
|
||||
-S ${WORLDDIR} -o ${.OBJDIR}/${${_CW:tu}${_FS:tu}${_FMT:tu}IMAGE} -c ${${_CW:tu}CONF}
|
||||
-S ${WORLDDIR} -o ${.OBJDIR}/${${_CW:tu}${_FS:tu}${_FMT:tu}IMAGE} -c ${${_CW:tu}CONF} || true
|
||||
touch ${.TARGET}
|
||||
. endfor
|
||||
. endfor
|
||||
|
|
@ -196,7 +196,7 @@ vm-image: ${QEMUTGT}
|
|||
-C ${.CURDIR}/tools/vmimage.subr \
|
||||
-d ${.OBJDIR}/${.TARGET}-${FORMAT}-${FS} -F ${FS} \
|
||||
-i ${.OBJDIR}/${FORMAT}.${FS}.img -s ${VMSIZE} -f ${FORMAT} \
|
||||
-S ${WORLDDIR} -o ${.OBJDIR}/${VMBASE}.${FS}.${FORMAT}
|
||||
-S ${WORLDDIR} -o ${.OBJDIR}/${VMBASE}.${FS}.${FORMAT} || true
|
||||
. endfor
|
||||
. endfor
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue