summaryrefslogtreecommitdiff
path: root/distrib/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 14:48:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 14:48:12 +0000
commit1c24a7b4a2202b4c466248a03b661fcf6c40e35e (patch)
tree2214f1f048822bc64f69b522c02a32f6e17d0c80 /distrib/macppc
parentbaeb4d23783efa1dd62e7c43c3296b8e6fad6a0d (diff)
Use new vnconfig vnd-auto-allocate mode. Resolve some variation between
architectures, and start removing some crazy junk that has collected over the years. Being tested on all architectures... ok various people.
Diffstat (limited to 'distrib/macppc')
-rw-r--r--distrib/macppc/ramdisk/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile
index 0f1ea7f2845..f26ee2a31f4 100644
--- a/distrib/macppc/ramdisk/Makefile
+++ b/distrib/macppc/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2019/04/05 21:08:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.36 2019/04/28 14:48:10 deraadt Exp $
REV= ${OSrev}
@@ -62,9 +62,10 @@ ${IMAGE}: ${CBIN}
sh ${UTILS}/runlist.sh ${LISTS}
rm $@.d/${CBIN}
makefs ${MAKEFSARGS_RD} $@ $@.d
- vnconfig -v -c vnd0 mr.fs
- df -i /dev/vnd0a
- vnconfig -u vnd0
+ vnconfig -v mr.fs > vnd
+ df -i /dev/`cat vnd`a
+ vnconfig -u `cat vnd`
+ rm -f vnd
.endif