USE_SOFTRAID=Yes means the softraid volume itself *does* need to be
formatted.
-# $OpenBSD: Makefile,v 1.15 2022/09/01 01:09:19 kn Exp $
+# $OpenBSD: Makefile,v 1.16 2022/09/01 08:52:30 kn Exp $
INSTALLBOOT ?= /usr/sbin/installboot
DRY_RUN = ${INSTALLBOOT} -n
.endif
format-root: create-root
-.if ${USE_SOFTRAID:L} != "yes"
+.if ${USE_SOFTRAID:L} == "yes"
${SUDO} ${FORMAT_DISK} -- "$$(<${ROOTDEVFILE})" 1>/dev/null
.endif
${SUDO} disklabel -Aw -- "$$(<${ROOTDEVFILE})"