Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/pmax/ramdisk Don't do the disklabel dance - just new...
details: https://anonhg.NetBSD.org/src/rev/316604953491
branches: trunk
changeset: 479946:316604953491
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Dec 28 10:54:20 1999 +0000
description:
Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
diffstat:
distrib/pmax/ramdisk/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 3cdbc6cedf22 -r 316604953491 distrib/pmax/ramdisk/Makefile
--- a/distrib/pmax/ramdisk/Makefile Tue Dec 28 10:46:55 1999 +0000
+++ b/distrib/pmax/ramdisk/Makefile Tue Dec 28 10:54:20 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1999/05/11 20:47:00 veego Exp $
+# $NetBSD: Makefile,v 1.10 1999/12/28 10:54:20 simonb Exp $
BINDIR= /installation/netboot
@@ -33,8 +33,7 @@
dd if=/dev/zero of=${IMAGE} count=${CSIZE}
vnconfig -v -c ${VND_CDEV} ${IMAGE}
# disklabel -rw ${VND_CDEV} ${DISKTYPE}
- -(disklabel ${VND_CDEV} > /tmp/proto; disklabel -R -r ${VND_CDEV} /tmp/proto)
- -newfs -B le -m 0 -o space -i 5120 ${VND_RDEV}
+ newfs -B le -m 0 -o space -i 5120 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
@@ -59,6 +58,9 @@
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
make -f ${CBIN}.mk all
+echoimage:
+ @echo ${.OBJDIR}/${IMAGE}
+
realinstall:
${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
-m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}
Home |
Main Index |
Thread Index |
Old Index