summaryrefslogtreecommitdiff
path: root/distrib/sparc64/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:22 +0000
commitd67cf536981fe324152c9f4f89119b8b3a7b383d (patch)
tree0c088c5d3f1bd77f9db06173cd83167cff96d380 /distrib/sparc64/ramdisk
parent81f9f199b5e2a6741e5a9a68d39dd00dadaa4e18 (diff)
Stop using disklabel -r. The disklabel code does not know all the semantics
for pushing disklabels onto the disk (and besides that, it is buggy and unreadable crap); thanks for help from krw
Diffstat (limited to 'distrib/sparc64/ramdisk')
-rw-r--r--distrib/sparc64/ramdisk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile
index 4cde8a27b50..4fbe82592db 100644
--- a/distrib/sparc64/ramdisk/Makefile
+++ b/distrib/sparc64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2007/04/13 17:34:40 millert Exp $
+# $OpenBSD: Makefile,v 1.18 2007/06/17 00:28:21 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -59,7 +59,7 @@ bsd.gz: bsd.rd
${FLOPPY}: bsd.gz ${BOOT} /usr/
dd if=/dev/zero of=${REALIMAGE} count=${FLOPPYSIZE}
vnconfig -v -c ${VND} ${REALIMAGE}
- disklabel -w ${RAWLABEL} ${VND} ${FLOPPYTYPE}
+ disklabel -w ${VND} ${FLOPPYTYPE}
newfs -m 0 -o space -i 524288 -c ${FLOPPYSIZE} ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/ofwboot ${MOUNT_POINT}/
@@ -91,7 +91,7 @@ bsd:
rd_setup:
dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
vnconfig -v -c ${VND} ${IMAGE}
- disklabel -w -r ${VND} ${DISKTYPE}
+ disklabel -w ${VND} ${DISKTYPE}
newfs ${NEWFSARGS} ${VND_RDEV}
fsck ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}