Use special version of installboot(8) which works without
od(1) and `big' dd(1).
This commit is contained in:
parent
8b7af21483
commit
37744a6f29
@ -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}
|
||||
|
15
distrib/x68k/floppies/ramdisk.sysinst/installboot.sh
Normal file
15
distrib/x68k/floppies/ramdisk.sysinst/installboot.sh
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user