Stomp the 4MB boot floppy and punt on 1.2MB floppy images. It's a battle

we're constantly losing and will concede for now.  Brilliant ideas
taken at the front desk.
This commit is contained in:
Jordan K. Hubbard 1996-12-11 18:26:19 +00:00
parent 86767547be
commit 32dc5e88bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20332

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.259 1996/11/27 22:52:06 phk Exp $
# $Id: Makefile,v 1.260 1996/12/08 18:21:29 joerg Exp $
#
# How to roll a release:
#
@ -37,16 +37,15 @@ BOOT1= etc/protocols etc/sysconfig
MNT= /mnt
# other floppy parameters.
FDSIZE= 1200
FDLABEL= fd1200
FDSIZE= 1440
FDLABEL= fd1440
ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
# Upper size for the mfs in the boot.flp kernel.
# These are adjusted down to the minimum needed by doFS.sh.
BOOTMFSSIZE4= 1100
BOOTMFSSIZE= 1200
MFSINODE= 120000
BOOTMFSSIZE= 1440
MFSINODE= 110000
FIXITINODE= 28000
# Things which will get you into trouble if you change them
@ -388,13 +387,6 @@ release.8: write_mfs_in_kernel dumpnlist
echo "cmd 514/tcp shell" >> ${RD}/mfsfd/stand/etc/services
gzip -c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
# make the small bootfd
@echo "Making the small 4MB boot floppy."
sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE4} ${RD}/mfsfd \
${MFSINODE} minimum
mv fs-image fs-image.4
mv fs-image.size fs-image.4.size
# add more stuff for the complete bootfd
@echo "Making the regular boot floppy."
tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
tar xvf - -C ${RD}/mfsfd/stand
@ -404,7 +396,6 @@ release.8: write_mfs_in_kernel dumpnlist
${MFSINODE} minimum
mv fs-image fs-image.std
mv fs-image.size fs-image.std.size
cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=4
cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std
mv ${RD}/floppies/bootstd.flp ${RD}/floppies/boot.flp
@echo "Regular boot floppy made."
@ -581,26 +572,6 @@ doMFSKERN:
@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
@rm -f ${RD}/kernels/BOOTMFS.${FSIMAGE}
@rm -f /sys/compile/BOOTMFS/mfs_vfsops.o
.if defined(FSIMAGE) && (${FSIMAGE} == "4")
@cd ${.CURDIR}/../sys/i386/conf && \
sed -e '/SYSV/d' \
-e '/pty/d' \
-e '/I[56]86_CPU/d' \
-e '/[ ]pci0/d' \
-e '/ncr0/d' \
-e '/BOUNCE_BUFFERS/d' \
-e '/VISUAL_USERCONFIG/d' \
-e '/device[ ]*de0/d' \
-e '/device[ ]*fxp0/d' \
-e '/PROCFS/d' \
-e '/KTRACE/d' \
-e 's/GENERIC/BOOTMFS/g' \
-e '/maxusers/s/10/4/' < GENERIC > BOOTMFS && \
echo "options MFS" >> BOOTMFS && \
echo "options NFS_NOSERVER" >> BOOTMFS && \
echo 'options "MAXCONS=4"' >> BOOTMFS && \
echo "options USERCONFIG_BOOT" >> BOOTMFS
.else
@cd ${.CURDIR}/../sys/i386/conf && \
sed -e '/SYSV/d' \
-e '/pty/d' \
@ -612,7 +583,6 @@ doMFSKERN:
echo "options NFS_NOSERVER" >> BOOTMFS && \
echo 'options "MAXCONS=4"' >> BOOTMFS && \
echo "options USERCONFIG_BOOT" >> BOOTMFS
.endif
@echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
${.CURDIR}/../sys/i386/conf/BOOTMFS
cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS