-# $OpenBSD: Makefile,v 1.33 2022/09/17 09:30:18 kn Exp $
+# $OpenBSD: Makefile,v 1.34 2022/10/10 11:06:14 kn Exp $
INSTALLBOOT ?= /usr/sbin/installboot
DRY_RUN = ${INSTALLBOOT} -n
.endif
${SUDO} disklabel -Aw -- "$$(<${ROOTDEVFILE})"
${SUDO} newfs -q -- "$$(<${ROOTDEVFILE})"a 1>/dev/null
- mkdir -- ${MOUNTPOINT}
+ mkdir -p -- ${MOUNTPOINT}
${SUDO} mount -- /dev/"$$(<${ROOTDEVFILE})"a ${MOUNTPOINT}
${SUDO} mkdir -- ${MOUNTPOINT}/usr
${SUDO} cp -r -- ${STAGEDIR} ${MOUNTPOINT}/usr/