summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-04-21 03:21:12 +0000
committerderaadt <deraadt@openbsd.org>2011-04-21 03:21:12 +0000
commita53d62875e056b82633981f220f71fc308ccf41a (patch)
tree74b135b60fd57ce02406acd8d6034f18de73be0d
parentFix more long vs 64bit type mismatches. Now 4GB i386 <-> macppc (diff)
downloadwireguard-openbsd-a53d62875e056b82633981f220f71fc308ccf41a.tar.xz
wireguard-openbsd-a53d62875e056b82633981f220f71fc308ccf41a.zip
This dd should be to the raw partition, so fix it. On the other
hand it has spotted a minor bug in thib's new vnd code, which he will fix tomorrow.
-rw-r--r--distrib/socppc/miniroot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/socppc/miniroot/Makefile b/distrib/socppc/miniroot/Makefile
index e993acfb26c..8ccef938e3d 100644
--- a/distrib/socppc/miniroot/Makefile
+++ b/distrib/socppc/miniroot/Makefile
@@ -10,6 +10,7 @@ VND?= vnd0
VND_DEV= /dev/${VND}a
VND_CDEV= /dev/${VND}c
VND_IDEV= /dev/${VND}i
+VND_IRDEV= /dev/r${VND}i
VND_RDEV= /dev/r${VND}a
VND_CRDEV= /dev/r${VND}c
PID!= echo $$$$
@@ -32,7 +33,7 @@ ${IMAGE}: rd_setup do_files rd_teardown
.endif
do_files:
- dd if=${DESTDIR}/usr/mdec/boot.elf of=${VND_IDEV}
+ dd if=${DESTDIR}/usr/mdec/boot.elf of=${VND_IRDEV}
gzip -c < ${.OBJDIR}/../ramdisk/bsd.rd > ${MOUNT_POINT}/bsd.rd
ln ${MOUNT_POINT}/bsd.rd ${MOUNT_POINT}/bsd