summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/i386/floppies/common/Makefile.inc5
-rw-r--r--distrib/i386/floppies/ramdisk_cd/Makefile3
2 files changed, 5 insertions, 3 deletions
diff --git a/distrib/i386/floppies/common/Makefile.inc b/distrib/i386/floppies/common/Makefile.inc
index 497bb0feb83..9e7c7da67cc 100644
--- a/distrib/i386/floppies/common/Makefile.inc
+++ b/distrib/i386/floppies/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 1999/08/06 20:49:08 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.8 1999/08/07 18:05:33 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -25,6 +25,7 @@ PID!= echo $$$$
REALIMAGE!= echo /var/tmp/image.${PID}
LISTFLOPPY= ${.CURDIR}/../common/list_floppy
FLOPPYSIZE?= 144
+FLOPPYSECS?= 18
FLOPPYTYPE?= floppy3
all: ${FS}
@@ -37,7 +38,7 @@ ${FS}: bsd.gz
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTFLOPPY}
- /usr/mdec/installboot -v -s 18 -h 2 ${MOUNT_POINT}/boot \
+ /usr/mdec/installboot -v -s ${FLOPPYSECS} -h 2 ${MOUNT_POINT}/boot \
${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV}
@echo ""
@df -i ${MOUNT_POINT}
diff --git a/distrib/i386/floppies/ramdisk_cd/Makefile b/distrib/i386/floppies/ramdisk_cd/Makefile
index a82d073b7f2..0bc4b6d3a0c 100644
--- a/distrib/i386/floppies/ramdisk_cd/Makefile
+++ b/distrib/i386/floppies/ramdisk_cd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 1999/08/06 20:49:11 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 1999/08/07 18:05:34 deraadt Exp $
.PATH: ${.CURDIR}/../ramdisk
RAMDISK=RAMDISK_CD
@@ -6,5 +6,6 @@ FLOPPYSIZE=288
FLOPPYTYPE=floppy288
XNAME=cdrom
NOBSDRD=1
+FLOPPYSECS=36
.include "${.CURDIR}/../common/Makefile.inc"