diff --git a/distrib/x68k/floppies/ramdisk.sysinst/Makefile b/distrib/x68k/floppies/ramdisk.sysinst/Makefile index a449b07c5017..d666e28c4dfc 100644 --- a/distrib/x68k/floppies/ramdisk.sysinst/Makefile +++ b/distrib/x68k/floppies/ramdisk.sysinst/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 1999/12/05 15:53:10 minoura Exp $ +# $NetBSD: Makefile,v 1.2 1999/12/05 16:26:39 minoura Exp $ TOP= ${.CURDIR}/.. WARNS=1 @@ -27,7 +27,7 @@ MTREE= mtree.conf DISKTYPE= floppy5 -all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} +all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} xxboot dd if=/dev/zero of=${IMAGE} count=2400 vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/15/2/80 newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV} @@ -61,6 +61,10 @@ HACKSRC=${TOP}/../../utils/libhack # turn off small gethostby* temporarily HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.o +# Adjust the size of xxboot. +xxboot: + dd if=${DESTDIR}/usr/mdec/sdboot of=${.TARGET} conv=sync + # Used in building bootfloppy echoimage: @echo ${.OBJDIR}/${IMAGE} diff --git a/distrib/x68k/floppies/ramdisk.sysinst/installboot.sh b/distrib/x68k/floppies/ramdisk.sysinst/installboot.sh new file mode 100644 index 000000000000..265e01425e95 --- /dev/null +++ b/distrib/x68k/floppies/ramdisk.sysinst/installboot.sh @@ -0,0 +1,15 @@ +#! /bin/sh +# +# Special version of installboot for the installer +# +# $NetBSD: installboot.sh,v 1.1 1999/12/05 16:26:40 minoura Exp $ + +echo "WARNING: This version of $0 works only for sd's!" +echo "WARNING: Also the boot block is specially prepared" +echo " to be as big just as 8192 byte." + +if [ "$1" = "-v" ]; then + shift +fi +echo dd if=$1 of=$2 +dd if=$1 of=$2 diff --git a/distrib/x68k/floppies/ramdisk.sysinst/list b/distrib/x68k/floppies/ramdisk.sysinst/list index bd87da6e3798..342e5c11c3b8 100644 --- a/distrib/x68k/floppies/ramdisk.sysinst/list +++ b/distrib/x68k/floppies/ramdisk.sysinst/list @@ -1,4 +1,4 @@ -# $NetBSD: list,v 1.1 1999/12/05 15:53:10 minoura Exp $ +# $NetBSD: list,v 1.2 1999/12/05 16:26:40 minoura Exp $ # Do this first to prevent file system full caused by huge db files. COPY ${CURDIR}/../../../../etc/master.passwd etc/master.passwd @@ -83,8 +83,9 @@ SPECIAL cd dev; sh MAKEDEV ramdisk SPECIAL /bin/rm dev/MAKEDEV # we need the boot blocks in /usr/mdec -COPY ${DESTDIR}/usr/mdec/installboot usr/mdec/installboot -COPY ${DESTDIR}/usr/mdec/sdboot usr/mdec/sdboot +COPY ${CURDIR}/installboot.sh usr/mdec/installboot +SPECIAL /bin/chmod 555 usr/mdec/installboot +COPY ${OBJDIR}/xxboot usr/mdec/sdboot LINK usr/mdec/sdboot usr/mdec/fdboot COPY ${DESTDIR}/usr/mdec/mboot usr/mdec/mboot