-# $OpenBSD: Makefile,v 1.44 2015/10/20 16:18:23 miod Exp $
+# $OpenBSD: Makefile,v 1.45 2015/10/20 16:22:47 miod Exp $
REV= ${OSrev}
disklabel -w ${VND} ${FLOPPYTYPE}
newfs ${NEWFSOPTS_FD} ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
+.if ${MACHINE} == "sparc"
+ cp ${BOOT} ${MOUNT_POINT}/
+.endif
cp bsd.gz ${MOUNT_POINT}/bsd
+.if ${MACHINE} == "sparc"
+ ${INSTALLBOOT} -v ${BOOTIN} ${BOOTXX} \
+ `echo ${VND_RDEV} | sed -e 's/a$$/c/'`
+.else
${INSTALLBOOT} -v -r ${MOUNT_POINT} ${VND} ${BOOTXX} ${BOOT}
+.endif
@echo ""
@df -i ${MOUNT_POINT}
@echo ""