summaryrefslogtreecommitdiff
path: root/distrib/alpha/ramdisk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-14 18:39:09 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-14 18:39:09 +0000
commit58ea9602e4ddbb2c2833a56125facd9f10b737bf (patch)
treef0435a12c745eae980e432cf6fa33df62ea4b7b7 /distrib/alpha/ramdisk
parent54cc77968d2f1847ce07f864067650ac0f073a4c (diff)
Use svnds and remove ugly cache flushing
Diffstat (limited to 'distrib/alpha/ramdisk')
-rw-r--r--distrib/alpha/ramdisk/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/distrib/alpha/ramdisk/Makefile b/distrib/alpha/ramdisk/Makefile
index 595bc853bfb..38f4aed18e1 100644
--- a/distrib/alpha/ramdisk/Makefile
+++ b/distrib/alpha/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 1997/05/14 11:32:22 graichen Exp $
+# $OpenBSD: Makefile,v 1.10 1997/05/14 18:38:50 niklas Exp $
TOP= ${.CURDIR}/..
@@ -10,7 +10,7 @@ KERNEL= ${TOP}/../../sys/arch/${MACHINE}/compile/RAMDISK/bsd
MOUNT_POINT= /mnt
-VND?= vnd0
+VND?= svnd0
VND_DEV= /dev/${VND}a
VND_RDEV= /dev/r${VND}a
VND_CRDEV= /dev/r${VND}c
@@ -47,16 +47,13 @@ ${FLOPPY}: bsd.gz
disklabel -w -r ${VND} ${FLOPPYTYPE}
newfs ${NEWFSARGS} ${NEWFSARGS_FD} -s ${FLOPPYBLKS} ${VND_RDEV} \
${FLOPPYTYPE}
- cat /*bin/* > /dev/null
mount ${VND_DEV} ${MOUNT_POINT}
cp ${BOOT} ${MOUNT_POINT}
cp bsd.gz ${MOUNT_POINT}/bsd
- cat /*bin/* > /dev/null
${INSTALLBOOT} ${MOUNT_POINT}/boot ${BOOTXX} ${VND_CRDEV}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
- cat /*bin/* > /dev/null
@cmp ${BOOT} ${MOUNT_POINT}/boot || echo "Warning! /boot corrupted!!!"
@cmp bsd.gz ${MOUNT_POINT}/bsd || echo "Warning! /bsd corrupted!!!"
umount ${MOUNT_POINT}
@@ -96,15 +93,12 @@ do_umount:
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
- cat /*bin/* > /dev/null
umount ${MOUNT_POINT}
vnconfig -u ${VND}
- cat /*bin/* > /dev/null
unconfig:
- -cat /*bin/* > /dev/null
-umount ${MOUNT_POINT}
- -vnconfig -u ${VND} && cat /*bin/* > /dev/null
+ -vnconfig -u ${VND}
beforeinstall:
cp ${FLOPPY} ${DESTDIR}/snapshot