diff options
author | deraadt <deraadt@openbsd.org> | 2019-04-28 14:48:08 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2019-04-28 14:48:08 +0000 |
commit | 7b572f1f0ef3f0f4683578764b23eaf5ad29b84f (patch) | |
tree | 3d8119a9fca14f70f2503999dd52d23df43384e3 /distrib/macppc | |
parent | Remove need for -A option, lack of a vnd_dev option implies creating (diff) | |
download | wireguard-openbsd-7b572f1f0ef3f0f4683578764b23eaf5ad29b84f.tar.xz wireguard-openbsd-7b572f1f0ef3f0f4683578764b23eaf5ad29b84f.zip |
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 |