From 832416761d223ca851f94bb5f0925ccd25f294a9 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 26 Jul 2022 13:20:17 +0000 Subject: Don't use echo "" | fdisk -e to create boot partition. Use -b like the install scripts do. Spotted by anton@. --- regress/sys/dev/vnd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/sys/dev') diff --git a/regress/sys/dev/vnd/Makefile b/regress/sys/dev/vnd/Makefile index 5c1bf6cc32d..99e2880670b 100644 --- a/regress/sys/dev/vnd/Makefile +++ b/regress/sys/dev/vnd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2020/03/12 15:40:39 visa Exp $ +# $OpenBSD: Makefile,v 1.2 2022/07/26 13:20:16 krw Exp $ REGRESS_SETUP= setup REGRESS_CLEANUP= cleanup @@ -19,7 +19,7 @@ run-regress-async-mount: unconfig mount_mfs -s1M -oasync swap /mnt/regress-vnd dd if=/dev/zero of=/mnt/regress-vnd/disk.img count=1024 vnconfig vnd0 /mnt/regress-vnd/disk.img - echo 'e 0\nC\n\n64\n960\nw\nq\n' | fdisk -e vnd0 + fdisk -iy -b "960@64:0c" vnd0 newfs -t msdos vnd0i REGRESS_ROOT_TARGETS= ${REGRESS_TARGETS} -- cgit v1.2.3