summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-01-09 23:14:34 +0000
committerjkh <jkh@FreeBSD.org>1999-01-09 23:14:34 +0000
commit3905f929a7f97b0ef4744b343438c8aa71eadaf2 (patch)
treee5b02370af05843b25abdf73e6c20b97c2ddb318
parentffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1 (diff)
downloadFreeBSD-src-3905f929a7f97b0ef4744b343438c8aa71eadaf2.zip
FreeBSD-src-3905f929a7f97b0ef4744b343438c8aa71eadaf2.tar.gz
Nuke this - it's antiquated and unmaintained.
-rw-r--r--release/floppies/Makefile7
-rw-r--r--release/floppies/bin/Makefile7
-rw-r--r--release/floppies/bin/doFS.sh71
-rw-r--r--release/floppies/bin/dumpnlist/Makefile9
-rw-r--r--release/floppies/bin/write_mfs_in_kernel/Makefile9
-rw-r--r--release/floppies/boot/Makefile4
-rw-r--r--release/floppies/boot/crunch/Makefile15
-rw-r--r--release/floppies/boot/crunch/crunch.conf21
-rw-r--r--release/floppies/boot/floppy/Makefile112
-rw-r--r--release/floppies/boot/mfs/Makefile25
-rw-r--r--release/floppies/boot/verbatim/etc/services4
-rw-r--r--release/floppies/fixit/Makefile6
-rw-r--r--release/floppies/fixit/crunch/Makefile3
-rw-r--r--release/floppies/fixit/crunch/crunch.conf43
-rw-r--r--release/floppies/fixit/image/Makefile20
-rw-r--r--release/floppies/mk/crunch_fs.mk108
-rw-r--r--release/floppies/mk/makecrunch.mk25
17 files changed, 0 insertions, 489 deletions
diff --git a/release/floppies/Makefile b/release/floppies/Makefile
deleted file mode 100644
index 01629be..0000000
--- a/release/floppies/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# $Id: Makefile,v 1.6 1997/07/16 12:24:13 julian Exp $
-#
-SUBDIR= bin boot fixit
-
-.include <bsd.subdir.mk>
-
-
diff --git a/release/floppies/bin/Makefile b/release/floppies/bin/Makefile
deleted file mode 100644
index 15f5ebf..0000000
--- a/release/floppies/bin/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# $Id: Makefile,v 1.1 1997/07/16 12:24:18 julian Exp $
-#
-SUBDIR= write_mfs_in_kernel dumpnlist
-
-.include <bsd.subdir.mk>
-
-
diff --git a/release/floppies/bin/doFS.sh b/release/floppies/bin/doFS.sh
deleted file mode 100644
index f0c2f2b..0000000
--- a/release/floppies/bin/doFS.sh
+++ /dev/null
@@ -1,71 +0,0 @@
-:
-#set -ex
-
-VNDEVICE=vn0
-export BLOCKSIZE=512
-
-BOOTBLKDIR=$1 ; shift
-MNT=$1 ; shift
-FSSIZE=$1 ; shift
-FSPROTO=$1 ; shift
-FSINODE=$1 ; shift
-FSLABEL=$1 ; shift
-
-deadlock=20
-
-while true
-do
- rm -f fs-image
-
- if [ ! -b /dev/${VNDEVICE} -o ! -c /dev/r${VNDEVICE} ] ; then
- ( cd /dev && sh MAKEDEV ${VNDEVICE} )
- fi
-
- umount /dev/${VNDEVICE} 2>/dev/null || true
-
- umount ${MNT} 2>/dev/null || true
-
- vnconfig -u /dev/r${VNDEVICE} 2>/dev/null || true
-
- dd of=fs-image if=/dev/zero count=${FSSIZE} bs=1k 2>/dev/null
- # this suppresses the `invalid primary partition table: no magic'
- awk 'BEGIN {printf "%c%c", 85, 170}' |\
- dd of=fs-image obs=1 seek=510 conv=notrunc 2>/dev/null
-
- vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
-
- disklabel -Brw \
- -b ${BOOTBLKDIR}/boot1 \
- -s ${BOOTBLKDIR}/boot2 \
- /dev/r${VNDEVICE} minimum
-
- TPC=1
- CPD=1
- SPT=$(( 2 * $FSSIZE / 2))
- newfs -u ${SPT} -t ${TPC} -s $(( ${FSSIZE} * 2 )) -i ${FSINODE} -m 0 -o space /dev/r${VNDEVICE}c
-
- mount /dev/${VNDEVICE}c ${MNT}
-
- ( set -e && cd ${FSPROTO} && find . -print | cpio -dump ${MNT} )
-
- df -ki /mnt
-
- set `df -ki /mnt | tail -1`
-
- umount ${MNT}
-
- fsck -p /dev/r${VNDEVICE}c < /dev/null
-
- vnconfig -u /dev/r${VNDEVICE} 2>/dev/null || true
-
- if [ $FSLABEL != "minimum" ] ; then
- echo ${FSSIZE} > fs-image.size
- break
- fi
-
- echo ">>> Filesystem is ${FSSIZE} K, $4 left"
- echo ">>> ${FSINODE} bytes/inode, $7 left"
- echo ">>> `expr ${FSSIZE} \* 1024 / ${FSINODE}`"
- echo ${FSSIZE} > fs-image.size
- break;
-done
diff --git a/release/floppies/bin/dumpnlist/Makefile b/release/floppies/bin/dumpnlist/Makefile
deleted file mode 100644
index 7cf75b8..0000000
--- a/release/floppies/bin/dumpnlist/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# $Id: Makefile,v 1.1 1997/07/22 02:50:58 julian Exp $
-#
-PROG=dumpnlist
-NOMAN=yes
-.PATH: ${.CURDIR}/../../..
-
-.include <bsd.prog.mk>
-
-
diff --git a/release/floppies/bin/write_mfs_in_kernel/Makefile b/release/floppies/bin/write_mfs_in_kernel/Makefile
deleted file mode 100644
index f77efb5..0000000
--- a/release/floppies/bin/write_mfs_in_kernel/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# $Id: Makefile,v 1.1 1997/07/22 02:50:59 julian Exp $
-#
-PROG=write_mfs_in_kernel
-NOMAN=yes
-.PATH: ${.CURDIR}/../../..
-
-.include <bsd.prog.mk>
-
-
diff --git a/release/floppies/boot/Makefile b/release/floppies/boot/Makefile
deleted file mode 100644
index 6200afe..0000000
--- a/release/floppies/boot/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-# $Id$
-SUBDIR= crunch mfs floppy
-
-.include <bsd.subdir.mk>
diff --git a/release/floppies/boot/crunch/Makefile b/release/floppies/boot/crunch/Makefile
deleted file mode 100644
index 90ee8bc..0000000
--- a/release/floppies/boot/crunch/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-OBJTOP=../../../..
-SYSINSTALL= ${OBJTOP}/release/sysinstall/sysinstall
-
-all: ${SYSINSTALL}
-
-${SYSINSTALL}:
- cd ${.CURDIR}/../../../../release/sysinstall ; make
- @if ! test -f ${SYSINSTALL} ; then \
- ${ECHO} "sysinstall not made" ; \
- ${ECHO} "Possibly need to 'make obj' for floppies and sysinstall" ; \
- exit 1; \
- fi
-
-.include "../../mk/makecrunch.mk"
-
diff --git a/release/floppies/boot/crunch/crunch.conf b/release/floppies/boot/crunch/crunch.conf
deleted file mode 100644
index e129738..0000000
--- a/release/floppies/boot/crunch/crunch.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-# $Id: crunch.conf,v 1.4 1997/07/22 02:51:00 julian Exp $
-
-srcdirs /usr/src/bin
-srcdirs /usr/src/release
-srcdirs /usr/src/sbin/i386
-srcdirs /usr/src/sbin
-srcdirs /usr/src/usr.bin
-srcdirs /usr/src/gnu/usr.bin
-srcdirs /usr/src/usr.sbin
-
-progs sh find
-progs pwd ft ppp
-progs sysinstall newfs gzip cpio bad144 fsck ifconfig route slattach
-progs mount_nfs
-ln gzip gunzip
-ln gzip zcat
-ln sh -sh
-
-libs -ll -ledit -lutil -lkvm -lmd -lcrypt -lftpio -lalias -lz
-libs -ldialog -lncurses -lmytinfo -L/usr/src/release/libdisk/obj -ldisk -lipx
-
diff --git a/release/floppies/boot/floppy/Makefile b/release/floppies/boot/floppy/Makefile
deleted file mode 100644
index b42c820..0000000
--- a/release/floppies/boot/floppy/Makefile
+++ /dev/null
@@ -1,112 +0,0 @@
-
-# $Id: Makefile,v 1.6 1997/07/22 02:51:00 julian Exp $
-# If this is a RELEASE, then set
-
-# Things which without too much trouble can be considered variables
-
-# mountpoint for filesystems.
-TOP=${.CURDIR}/../../../..
-OBJTOP=${.OBJDIR}/../../../..
-FS_BIN=../../bin
-SCRIPTDIR=${.CURDIR}/../../bin
-
-MNT= /mnt
-
-# other floppy parameters.
-FSSIZE= 1440
-FSLABEL= fd1440
-FSINODE= 4300
-
-NEWFSARGS= -c 80 -b 4096 -f 512 -i 4000 -m 0 -t 0 -u 0 \
- -o space -T ${FSLABEL}
-
-
-# Upper size for the mfs in the boot.flp kernel.
-# These are adjusted down to the minimum needed by doFS.sh.
-BOOTMFSSIZE= 1200
-MFSINODE= 40000
-
-# Things which will get you into trouble if you change them
-MTREEFILES= ${.CURDIR}/../etc/mtree
-
-
-# Complete the bootfd
-#
-# Now, just to get this picture down once and for all:
-#
-# +------------------------------------------------------------------------+
-# |boot.flp |
-# +-----+-----+------------------------------------------------------------+
-# |boot1|boot2|floppy filesystem "bootfd" |
-# +-----+-----+-+--------------------------------------------------------+-+
-# |kernel |
-# +------------+-----------------------------------------+-+
-# |mfs filesystem "mfsfd" |
-# +-----------------------------------------+
-#
-
-all: ${FS_BIN}/write_mfs_in_kernel
- cd ${.CURDIR} && ${MAKE} doMFSKERN
-
-
-
-#
-# --==## Compile a kernel by name ${KERNEL} ##==--
-#
-# We don't erase the sys/compile/${KERNEL} directory, since somebody
-# may want to reuse it (release.8 presently)
-#
-CONF=${TOP}/sys/i386/conf
-COMPILE=${TOP}/sys/compile
-doKERNEL:
- cd ${CONF} && config ${KERNEL}
- cd ${COMPILE}/${KERNEL} && \
- make depend && \
- make kernel && \
-
-#
-# --==## Put a filesystem into a BOOTMFS kernel ##==--
-#
-LABELDIR=${OBJTOP}/sys/i386/boot/biosboot
-
-${COMPILE}/BOOTMFS/kernel:
- rm -f ${COMPILE}/BOOTMFS/mfs_vfsops.o
- cd ${CONF} && \
- sed -e '/SYSV/d' \
- -e '/pty/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
- echo "options \"MFS_ROOT=`cat ../mfs/fs-image.size`\"" >> \
- ${CONF}/BOOTMFS
- cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
-
-doMFSKERN: ${COMPILE}/BOOTMFS/kernel
- -mkdir tree
- cp ${COMPILE}/BOOTMFS/kernel tree
- ${FS_BIN}/write_mfs_in_kernel/write_mfs_in_kernel tree/kernel ../mfs/fs-image
- kzip -v tree/kernel
- mv tree/kernel.kz tree/kernel
- cp ${COMPILE}/../i386/boot/biosboot/boot.help tree
- touch tree/boot.config
- @vnconfig /dev/vn0 ../mfs/fs-image
- @mkdir -p /tmp/mnt_xx
- @mount /dev/vn0 /tmp/mnt_xx
- ${FS_BIN}/dumpnlist/dumpnlist ${COMPILE}/BOOTMFS/kernel > /tmp/mnt_xx/stand/symbols
- @umount /tmp/mnt_xx
- @vnconfig -u /dev/vn0
- @rmdir /tmp/mnt_xx
-
- sh -e ${SCRIPTDIR}/doFS.sh ${LABELDIR} ${MNT} ${FSSIZE} tree \
- 10000 ${FSLABEL}
-
-clean:
- rm -rf tree fs-image fs-image.size
-
-.include <bsd.prog.mk>
-
diff --git a/release/floppies/boot/mfs/Makefile b/release/floppies/boot/mfs/Makefile
deleted file mode 100644
index 95af0b6..0000000
--- a/release/floppies/boot/mfs/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-###
-# $Id: Makefile,v 1.5 1997/07/22 02:51:01 julian Exp $
-#
-# What are we if we weren't told..
-CRUNCHDIRS= ../crunch
-OBJTOP=../../../..
-TOP=${.CURDIR}/../../../..
-SCRIPTDIR=${.CURDIR}/../../bin
-FSLABEL=minimum
-ZIP=false
-
-# the directories you want on the fs
-STANDLINKS= bin sbin
-FS_DIRS= dev stand etc mnt mnt1 mnt2 tmp
-FS_DEVICES= std wd0 wd1 wd2 da0 da1 da2 cuaa0 cuaa1 cuaa2 cuaa3 \
- fd0 fd1 cd0 mcd0 scd0 matcd0 wcd0 sa0 ft0 wt0 vty4
-# a subdir that contains a verbatim image to be copied to the fs
-VERBATIM= ../verbatim
-
-.include "../../mk/crunch_fs.mk"
-all: fs_image
-
-# tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
-# tar xvf - -C ${RD}/mfsfd/stand
-
diff --git a/release/floppies/boot/verbatim/etc/services b/release/floppies/boot/verbatim/etc/services
deleted file mode 100644
index bd1beff..0000000
--- a/release/floppies/boot/verbatim/etc/services
+++ /dev/null
@@ -1,4 +0,0 @@
-nameserver 42/tcp name
-ftp 21/tcp
-domain 53/tcp nameserver
-domain 53/udp nameserver
diff --git a/release/floppies/fixit/Makefile b/release/floppies/fixit/Makefile
deleted file mode 100644
index 0e63f81..0000000
--- a/release/floppies/fixit/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-###
-# $Id$
-#
-SUBDIR= crunch image
-
-.include <bsd.subdir.mk>
diff --git a/release/floppies/fixit/crunch/Makefile b/release/floppies/fixit/crunch/Makefile
deleted file mode 100644
index a1bf7cf..0000000
--- a/release/floppies/fixit/crunch/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-OBJTOP=../../../..
-.include "../../mk/makecrunch.mk"
-
diff --git a/release/floppies/fixit/crunch/crunch.conf b/release/floppies/fixit/crunch/crunch.conf
deleted file mode 100644
index a236547..0000000
--- a/release/floppies/fixit/crunch/crunch.conf
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: fixit_crunch.conf,v 1.14 1997/12/25 23:08:44 jkh Exp $
-
-# first, we list the source dirs that our programs reside in. These are
-# searched in order listed to find the dir containing each program.
-
-srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
-srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi
-srcdirs /usr/src/sbin/i386
-
-# second, we list all the programs we want to include in our crunched binary.
-# The order doesn't matter. Any program that needs hard links to it gets an
-# `ln' directive.
-
-# /bin stuff
-
-progs cat chmod chroot cp date dd df echo ed expr hostname kill ln ls mkdir
-progs mt mv pwd rcp rm rmdir sleep stty sync test
-
-ln test [
-
-# /sbin stuff
-
-progs badsect chown clri disklabel dump dmesg fdisk ft
-progs mknod mount newfs ping reboot restore scsi swapon umount
-
-progs mount_msdos mount_cd9660 mount_nfs
-
-ln dump rdump
-ln restore rrestore
-ln newfs mount_mfs
-ln chown chgrp
-
-# /usr/bin stuff
-
-progs ftp more rsh sed telnet rlogin vi find grep
-ln vi view
-ln vi ex
-
-# finally, we specify the libraries to link in with our binary
-
-libs -lcrypt -ltelnet -lutil -ll -lm
-libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lscsi -lz
-
diff --git a/release/floppies/fixit/image/Makefile b/release/floppies/fixit/image/Makefile
deleted file mode 100644
index 571ecc5..0000000
--- a/release/floppies/fixit/image/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-###
-# $Id: Makefile,v 1.4 1997/07/16 12:24:27 julian Exp $
-#
-# What are we if we weren't told..
-CRUNCH?= fixit
-CRUNCHDIRS= ../crunch
-TOP=${.CURDIR}/../../../..
-OBJTOP=${.OBJDIR}/../../../..
-SCRIPTDIR=${.CURDIR}/../../bin
-#FSLABEL=minimum
-FSINODE=2000
-
-
-# the directories you want on the fs
-FS_DIRS= dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp
-# a subdir that contains a verbatim image to be copied to the fs
-VERBATIM= ../verbatim
-
-.include "../../mk/crunch_fs.mk"
-all: fs_image
diff --git a/release/floppies/mk/crunch_fs.mk b/release/floppies/mk/crunch_fs.mk
deleted file mode 100644
index c6d51d1..0000000
--- a/release/floppies/mk/crunch_fs.mk
+++ /dev/null
@@ -1,108 +0,0 @@
-###
-# $Id: crunch_fs.mk,v 1.1 1997/07/16 12:24:29 julian Exp $
-#
-# This is included to make a floppy that includes a crunch file
-#
-# Variables that control this mk include file.
-# TOP specifies where the top of the FreeBSD source tree is.. (*)
-# FS_DIRS directories to make on the fs (*)
-# STANDLINKS added symlinks to /stand on the fs
-# VERBATIM a directory that contains tree to be copied to the fs
-# FSSIZE defaults to 1440
-# FSLABEL defaults to fd1440
-# FSINODE defaults to 4000
-# FS_DEVICES devices to make on the fs (using MAKEDEV) (default = all)
-# ZIP decides if the installed cruch will also be gzip'd(def=true)
-# (*) = Mandatory
-###
-
-# If we weren't told, default to nothing
-.if ! defined( TOP )
-# define TOP!
-xxx
-.endif
-
-# mountpoint for filesystems.
-MNT= /mnt
-
-# other floppy parameters.
-FSSIZE?= 1440
-FSLABEL?= fd1440
-FSINODE?= 2000
-FS_DEVICES?= all
-ZIP?=true
-
-# Things which will get you into trouble if you change them
-TREE= tree
-LABELDIR= ${OBJTOP}/sys/i386/boot/biosboot
-
-clean:
- rm -rf tree fs-image fs-image.size step[0-9]
-
-.include <bsd.prog.mk>
-
-
-#
-# --==## Create a filesystem image ##==--
-#
-
-fs_image: ${TREE} step2 step3 step4 fs-image
-
-${TREE}: ${.CURDIR}/Makefile
- rm -rf ${TREE}
- mkdir -p ${TREE}
- cd ${TREE} && mkdir ${FS_DIRS}
- cd ${TREE} ; for i in ${STANDLINKS} ; \
- do \
- ln -s /stand $${i} ; \
- done
-
-step2: ${.CURDIR}/${CRUNCHDIRS} ${.CURDIR}/Makefile
-.if defined(CRUNCHDIRS)
- @cd ${.CURDIR} && $(MAKE) installCRUNCH DIR=${TREE}/stand ZIP=${ZIP}
-.endif
- touch step2
-
-step3: step2
-.if defined (FS_DEVICES)
- ( cd tree/dev && \
- cp ${TOP}/etc/etc.i386/MAKEDEV . && sh MAKEDEV ${FS_DEVICES} )
-.endif
- touch step3
-
-step4: step3
-.if defined(VERBATIM)
- A=`pwd`;cd ${.CURDIR}/${VERBATIM}; \
- find . \! \( -name CVS -and -prune \) -print |cpio -pdmuv $$A/tree
-.endif
- true || cp ${TOP}/etc/spwd.db tree/etc
- touch step4
-
-fs-image: step4
- sh -e ${SCRIPTDIR}/doFS.sh ${LABELDIR} ${MNT} ${FSSIZE} tree \
- ${FSINODE} ${FSLABEL}
- cp fs-image.size ${.CURDIR}
-
-
-.if defined(CRUNCHDIRS)
-installCRUNCH:
-.if !defined(DIR)
- @echo "DIR undefined in installCRUNCH" && exit 1
-.endif
-.if !defined(ZIP)
- @echo "ZIP undefined in installCRUNCH" && exit 1
-.endif
-.for CRUNCHDIR in ${CRUNCHDIRS}
- if ${ZIP} ; then \
- gzip -9 < ${CRUNCHDIR}/crunch > ${DIR}/.crunch ; \
- else \
- ln -f ${CRUNCHDIR}/crunch ${DIR}/.crunch ; \
- fi
- chmod 555 ${DIR}/.crunch
- for i in `crunchgen -l ${.CURDIR}/${CRUNCHDIR}/crunch.conf` ; do \
- ln -f ${DIR}/.crunch ${DIR}/$$i ; \
- done
- rm -f ${DIR}/.crunch
-.endfor
-.endif
-
diff --git a/release/floppies/mk/makecrunch.mk b/release/floppies/mk/makecrunch.mk
deleted file mode 100644
index 8f2d3e7..0000000
--- a/release/floppies/mk/makecrunch.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-SYSINSTALL= ${OBJTOP}/release/sysinstall/sysinstall
-
-NOCRYPT?= yes
-
-all: crunch
-
-crunch:
- -crunchgen ${.CURDIR}/crunch.conf
- ${MAKE} -f crunch.mk all NOCRYP=${NOCRYPT} \
- "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY"
-
-clean:
- rm -f *.o *.stub *.lo *_stub.c *.mk \
- crunch.cache \
- crunch.mk \
- crunch.c \
- crunch \
- .tmp_*
-
-install:
- @echo " No idea what to do to install yet"
-
-.include <bsd.prog.mk>
OpenPOWER on IntegriCloud