summaryrefslogtreecommitdiffstats
path: root/release/floppies/fixit
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-05-21 01:12:48 +0000
committerjulian <julian@FreeBSD.org>1996-05-21 01:12:48 +0000
commit57f684b7bcf43e96e30345e8dd8437b9722daa89 (patch)
tree4e0299859bca8dbeb00101cbcd071e48e508f44f /release/floppies/fixit
parentdaaf2e922f028b52c7654d7ffacd86a5f39dd69f (diff)
downloadFreeBSD-src-57f684b7bcf43e96e30345e8dd8437b9722daa89.zip
FreeBSD-src-57f684b7bcf43e96e30345e8dd8437b9722daa89.tar.gz
stand alone (kinda) floppy generation..
you still need tohave done a make world and have made 'sysinstall' this should not interfere with existing code as it's standalone. write_mfs_in_kernel.c is duplicated alsewhere.. one will go ..
Diffstat (limited to 'release/floppies/fixit')
-rw-r--r--release/floppies/fixit/Makefile6
-rw-r--r--release/floppies/fixit/crunch/Makefile2
-rw-r--r--release/floppies/fixit/crunch/crunch.conf45
-rw-r--r--release/floppies/fixit/image/Makefile16
-rw-r--r--release/floppies/fixit/verbatim/.profile15
5 files changed, 84 insertions, 0 deletions
diff --git a/release/floppies/fixit/Makefile b/release/floppies/fixit/Makefile
new file mode 100644
index 0000000..ee278f7
--- /dev/null
+++ b/release/floppies/fixit/Makefile
@@ -0,0 +1,6 @@
+###
+# $Id: Makefile,v 1.214 1996/05/02 08:18:28 jkh Exp $
+#
+SUBDIR= crunch image
+
+.include <bsd.subdir.mk>
diff --git a/release/floppies/fixit/crunch/Makefile b/release/floppies/fixit/crunch/Makefile
new file mode 100644
index 0000000..b48f9b7
--- /dev/null
+++ b/release/floppies/fixit/crunch/Makefile
@@ -0,0 +1,2 @@
+.include "../../makecrunch.mk"
+
diff --git a/release/floppies/fixit/crunch/crunch.conf b/release/floppies/fixit/crunch/crunch.conf
new file mode 100644
index 0000000..f31652e
--- /dev/null
+++ b/release/floppies/fixit/crunch/crunch.conf
@@ -0,0 +1,45 @@
+# $Id: fixit_crunch.conf,v 1.6 1996/01/03 23:41:03 joerg 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
+srcdirs /usr/src/sbin/i386
+srcdirs /usr/src/sbin
+srcdirs /usr/src/gnu/usr.bin
+srcdirs /usr/src/usr.bin
+srcdirs /usr/src/usr.sbin
+srcdirs /usr/src/usr.bin/vi
+
+# 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
+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
+
+# /usr/bin stuff
+
+progs ftp rsh sed telnet rlogin common find grep
+ln common vi
+ln common view
+ln common ex
+
+# finally, we specify the libraries to link in with our binary
+
+libs -lcrypt -ltelnet -lutil -ll
+libs -lcurses -ltermcap -ledit -lgnuregex -lkvm -lscsi
diff --git a/release/floppies/fixit/image/Makefile b/release/floppies/fixit/image/Makefile
new file mode 100644
index 0000000..a8a80c4
--- /dev/null
+++ b/release/floppies/fixit/image/Makefile
@@ -0,0 +1,16 @@
+###
+# $Id: Makefile,v 1.214 1996/05/02 08:18:28 jkh Exp $
+#
+# What are we if we weren't told..
+CRUNCH?= fixit
+CRUNCHDIRS= ../crunch
+TOP=${.CURDIR}/../../../..
+FS_BIN=${.CURDIR}/../..
+
+# 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 "../../crunch_fs.mk"
+all: fs_image
diff --git a/release/floppies/fixit/verbatim/.profile b/release/floppies/fixit/verbatim/.profile
new file mode 100644
index 0000000..f5664e8
--- /dev/null
+++ b/release/floppies/fixit/verbatim/.profile
@@ -0,0 +1,15 @@
+:
+# $Id: fixit.profile,v 1.1 1995/03/15 06:14:19 phk Exp $
+PATH=/stand
+BLOCKSIZE=K
+PS1="Fixit# "
+
+echo '+---------------------------------------------------+'
+echo '| You are now running from a FreeBSD "fixit" floppy |'
+echo '+---------------------------------------------------+'
+echo
+echo 'Good Luck!'
+echo
+
+export PATH BLOCKSIZE PS1
+
OpenPOWER on IntegriCloud