summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2007-05-19 15:52:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2007-05-19 15:52:32 +0000
commit236988d78c37661fa1588f2fba8f3172cd879b59 (patch)
tree39228c5e43d029aa560de43d7f9773610eb97fe9 /distrib
parent55effb9ba5d36fabab2ee9010d12cba4ce97f7ab (diff)
Make FLOPPYSIZE be in terms of 512 byte blocks like all the other ports.
This was something I missed in the initial "newfs -c" conversion.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/amd64/common/Makefile.inc6
-rw-r--r--distrib/amd64/ramdisk_cd/Makefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/distrib/amd64/common/Makefile.inc b/distrib/amd64/common/Makefile.inc
index 4f3da5ea511..37cb032eb5e 100644
--- a/distrib/amd64/common/Makefile.inc
+++ b/distrib/amd64/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.6 2007/04/25 21:40:35 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2007/05/19 15:52:31 millert Exp $
TOP= ${.CURDIR}/..
@@ -21,13 +21,13 @@ VND_CRDEV= /dev/r${VND}c
PID!= echo $$$$
REALIMAGE!= echo /var/tmp/image.${PID}
BOOT= ${DESTDIR}/usr/mdec/boot
-FLOPPYSIZE?= 144
+FLOPPYSIZE?= 2880
FLOPPYTYPE?= floppy3
all: ${FS}
${FS}: bsd.gz
- dd if=/dev/zero of=${REALIMAGE} bs=10k count=${FLOPPYSIZE}
+ dd if=/dev/zero of=${REALIMAGE} bs=512 count=${FLOPPYSIZE}
vnconfig -v -c ${VND} ${REALIMAGE}
disklabel -w -r ${VND} ${FLOPPYTYPE}
newfs -m 0 -o space -i 524288 -c ${FLOPPYSIZE} ${VND_RDEV}
diff --git a/distrib/amd64/ramdisk_cd/Makefile b/distrib/amd64/ramdisk_cd/Makefile
index 9a30b867425..63b502987ba 100644
--- a/distrib/amd64/ramdisk_cd/Makefile
+++ b/distrib/amd64/ramdisk_cd/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2004/02/07 21:16:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2007/05/19 15:52:31 millert Exp $
.PATH: ${.CURDIR}/../ramdisk
RAMDISK=RAMDISK_CD
-FLOPPYSIZE=288
+FLOPPYSIZE=5760
FLOPPYTYPE=floppy288
XNAME=cdrom