summaryrefslogtreecommitdiff
path: root/distrib/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-15 01:06:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-15 01:06:22 +0000
commit617405aa2dac48eae04187a3004ac5840d4b27e4 (patch)
treef3262fc98d93cd07f20cbe44ae767db423738ebf /distrib/ramdisk
parent648e6b7fa37914996829fbe855f5cec71580831a (diff)
vax support, bit hackish, will do for now; input from hugh
Diffstat (limited to 'distrib/ramdisk')
-rw-r--r--distrib/ramdisk/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/distrib/ramdisk/Makefile b/distrib/ramdisk/Makefile
index d1b53ffe9b2..3c85f8cfb13 100644
--- a/distrib/ramdisk/Makefile
+++ b/distrib/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2001/10/09 23:03:51 deraadt Exp $
+# $OpenBSD: Makefile,v 1.19 2002/02/15 01:06:21 deraadt Exp $
REV= ${OSrev}
@@ -39,7 +39,7 @@ RAWLABEL?= -r
# old format, minfree, opt, b/i trks, sects, cpg
NEWFSOPTS= -t ffs -m 0 -o space -f 1024 -b 8192
-NEWFSOPTS_RD= ${NEWFSOPTS} -i 16384 -c 64 -s ${IMAGESIZE}
+NEWFSOPTS_RD?= ${NEWFSOPTS} -i 16384 -c 64 -s ${IMAGESIZE}
#NEWFSOPTS_FD= ${NEWFSOPTS} -i 524288 -c 80 -s ${FLOPPYSIZE}
NEWFSOPTS_FD= ${NEWFSOPTS} -i 1048575 -c 256 -s ${FLOPPYSIZE}
@@ -65,6 +65,9 @@ ${FLOPPY}: bsd.gz ${BOOT} ${BOOTXX}
cp bsd.gz ${MOUNT_POINT}/bsd
${INSTALLBOOT} -v ${BOOTIN} ${BOOTXX} \
`echo ${VND_RDEV} | sed -e 's/a$$/c/'`
+.if (${MACHINE_ARCH} != "vax")
+ disklabel -B -b ${BOOTXX} ${VND}
+.endif
@echo ""
@df -i ${MOUNT_POINT}
@echo ""