summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-04 08:24:10 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-04 08:24:10 +0000
commit05bb5227220d506ad22e16345b445e7498a3e02c (patch)
tree32742777baf64da5b59c38dbafbfb39449ab2159 /regress/usr.sbin
parenta40e24f1ceec56b4df65113745ee52eef698043c (diff)
Use simpler disklabel template
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/installboot/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/installboot/Makefile b/regress/usr.sbin/installboot/Makefile
index 93496db1884..01b45710fb4 100644
--- a/regress/usr.sbin/installboot/Makefile
+++ b/regress/usr.sbin/installboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2022/09/01 17:23:36 kn Exp $
+# $OpenBSD: Makefile,v 1.18 2022/09/04 08:24:09 kn Exp $
INSTALLBOOT ?= /usr/sbin/installboot
DRY_RUN = ${INSTALLBOOT} -n
@@ -66,8 +66,8 @@ format-disks: create-disks
.for devfile in ${DISKDEVFILES}
${SUDO} ${FORMAT_DISK} -- "$$(<${devfile})" 1>/dev/null
. if ${USE_SOFTRAID:L} == "yes"
- printf 'a\n\n\n\nRAID\nw\nq\n' | \
- ${SUDO} disklabel -E -- "$$(<${devfile})" 1>/dev/null
+ echo 'RAID 1M-* 100%' | \
+ ${SUDO} disklabel -wAT/dev/stdin -- "$$(<${devfile})" 1>/dev/null
. endif
.endfor