diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-28 14:48:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-28 14:48:12 +0000 |
commit | 1c24a7b4a2202b4c466248a03b661fcf6c40e35e (patch) | |
tree | 2214f1f048822bc64f69b522c02a32f6e17d0c80 /distrib/macppc | |
parent | baeb4d23783efa1dd62e7c43c3296b8e6fad6a0d (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/Makefile | 9 |
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 |