Commit Graph

184 Commits

Author SHA1 Message Date
grog
5cdd5a30ef Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:16:55 +00:00
grog
b8a9fdaa2b Add content. This was one of the files that somehow got checked in
empty.  An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
1999-12-20 02:15:04 +00:00
grog
12414271a6 Accept a lot of programs from the first floppy.
Reenable build of ppp and ipfw.

Include pccardd.
1999-12-20 02:13:28 +00:00
grog
4d2d57d100 Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only.  This broke the build of ppp.  This
problem still exists in the old-style directories.

Debugging-help-supplied-by: brian
1999-12-20 02:12:27 +00:00
grog
9228fe234f Move even more programs to the second floppy as the kernel bloats. 1999-12-20 02:10:55 +00:00
grog
fae25755f6 Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:10:16 +00:00
grog
6855e801ec Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets.  In
particular, ensure that the vnode file systems are mounted before
writing to them.

Ensure that we don't get CVS directories on our floppies.

Use kgzip instead of kzip to compress the loader.  This saves a few
kB.

Remove some test cruft.
1999-12-20 02:07:42 +00:00
jkh
9a3f1f4929 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
jkh
c4a2fd34b9 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
jdp
5938dee1c9 Something went wrong with an earlier commit and these files ended up
empty.  Fix that with help from grog.
1999-12-11 15:12:31 +00:00
grog
73feefc8af Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one.  The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled.  It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh             dump            ln              ns              sps
[               ed              login           ping            stty
badsect         ex              ls              ps              swapon
cat             expr            mkdir           pwd             sync
chgrp           fdisk           mknod           pwd_mkdb        sysctl
chmod           find            more            rdump         syslogd
chown           fsck            mount           reboot          tar
chroot          ftp             mount_cd9660    restore         telnet
clri            getty           mount_msdos     rlogin                telnetd
cp              grep            mount_nfs       rm              test
date            gunzip          mount_std       rmdir         traceroute
dd              gzip            msg             route           umount
dev_mkdb        hostname        mt              routed          vi
df              ifconfig        mv              rrestore        view
dhclient        inetd           natd            rsh             vm
dhclient-script init            netstat         sed             w
disklabel       kget            newfs           sh              zcat
dmesg           kill            nfs             sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this.  The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy.  The current method
creates a larger mfs and can read as many floppies as the user can
stand.  The footprint appears to be round 14 MB.
1999-12-10 21:52:18 +00:00
grog
d84305a288 Add 'custom' directory with significantly restructured build (now
using make instead of custom scripts) and two floppies instead of
one.  The resultant floppy can do everything that the individual
floppies (dial, net, install, isp, router) could do, modulo some bit
rot that has occurred since PicoBSD last compiled.  It also includes
all the programs on the fixit floppy, which could thus also die.

/bin currently contains the following files:

-sh             dump            ln              ns              sps
[               ed              login           ping            stty
badsect         ex              ls              ps              swapon
cat             expr            mkdir           pwd             sync
chgrp           fdisk           mknod           pwd_mkdb        sysctl
chmod           find            more            rdump		syslogd
chown           fsck            mount           reboot          tar
chroot          ftp             mount_cd9660    restore         telnet
clri            getty           mount_msdos     rlogin		telnetd
cp              grep            mount_nfs       rm              test
date            gunzip          mount_std       rmdir		traceroute
dd              gzip            msg             route           umount
dev_mkdb        hostname        mt              routed          vi
df              ifconfig        mv              rrestore        view
dhclient        inetd           natd            rsh             vm
dhclient-script init            netstat         sed             w
disklabel       kget            newfs           sh              zcat
dmesg           kill            nfs             sleep

Structure is in place for using the same build for the other
directories, but I'm no longer sure we need this.  The current first
floppy will run fine by itself, but the size of a compressed kernel
has increased by nearly 50% since 3.2, and there's not much space for
anything useful on the remainder of the floppy.  The current method
creates a larger mfs and can read as many floppies as the user can
stand.  The footprint appears to be round 14 MB.

Work-sponsored-by:    Sitara Networks Inc.
1999-12-10 21:43:10 +00:00
pb
fec446a949 A (harmless) forgotten MFS_ROOT -> MD_ROOT. 1999-11-30 21:41:11 +00:00
pb
4b022c2070 A forgotten "disk" -> "device". 1999-11-30 21:24:31 +00:00
pb
a5251563a0 Make the following changes to PicoBSD kernel configurations:
- to account for recent changes in MFS:
		add pseudo-device md
		replace MFS_ROOT with MD_ROOT
	- replace deprecated "disk" with "device"
1999-11-28 21:33:44 +00:00
roger
12f5be6150 Update PicoBSD so it does not need to patch the passwd Makefile. 1999-10-30 09:19:30 +00:00
dwhite
6ee2209df1 Change MFS sizes to 2400k since gzip will compact free space anyway.
Add 'install' to the internal floppy type list.
1999-10-20 04:48:35 +00:00
dwhite
12aedb126c Reverse the sense of the /mnt/boot/defaults dir check. This was causing
the bootloader to not load the loader.conf and thus the MFS image.  The result
was 'panic: no init'.
1999-10-17 22:42:57 +00:00
dwhite
ad345ff4e4 Fix handling of the 'custom' directory symlink.
Properly abstract the PicoBSD build directory instead of depending too much
on pwd's and relative paths.

Submitted by:	 John Baldwin <jobaldwi@vt.edu>
1999-10-11 20:52:50 +00:00
dwhite
aafa907b0c Be explicit about kzip location to avoid accidentally calling KDE kzip. 1999-10-11 05:13:52 +00:00
dwhite
6f53851bb1 Add documentation for the PicoBSD install floppy. 1999-10-08 05:20:06 +00:00
dwhite
7bbfacece4 Add a new floppy type, install. This type builds a disk that can
slice, partition, newfs, and install FreeBSD from a tarball on a remote server.
Handy for doing mass-installs for server farms.

Documentation following shortly.
1999-10-08 04:00:21 +00:00
dwhite
84de4ae03c Remove tee from stage1 call. You can't capture the return code from stage1
(easily) so it gives false 'success' indications.
1999-08-29 19:16:29 +00:00
dwhite
c0fcda6e0b MFS: Dialog-ify 'reuse custom directory' question. 1999-08-29 19:11:11 +00:00
roger
4551595b84 Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
roger
197433c381 Add file which was missed in last commits due to CVS problems 1999-08-28 06:24:16 +00:00
roger
a5e1f71238 Add file which was missing from previous commits 1999-08-28 06:22:07 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
roger
74c7494ba1 'build' calls 'stage1'
The check for the exit status of the 'stage1' script was broken.
Change "X$?" != "X0" to "X?" != "X0"
1999-08-27 07:41:25 +00:00
roger
2e56906b46 Sync with -stable version 1999-08-26 18:36:36 +00:00
roger
77d8ff89a2 Comment out references to ssh to allow builds to complete. 1999-08-26 17:58:58 +00:00
roger
7f8de05700 Update so it applies cleanly 1999-08-26 15:17:24 +00:00
roger
48980afdc0 Update patch so it applies cleanly 1999-08-26 15:13:00 +00:00
roger
74f029a93f Changed to get the page size using a sysctl rather than using DEFAULT_PAGE_SIZE
Suggested by: Alan Cox
1999-08-26 11:11:48 +00:00
dwhite
e0240141ee Add missing quote. 1999-08-25 01:12:55 +00:00
dwhite
ad67ebdb8c Fix patch so it applies without asking for a filename. 1999-08-24 23:28:26 +00:00
dwhite
f92baad414 Add 'options MFS_ROOT' back in to kernel configs -- not going to get far
without that!
1999-08-23 18:49:52 +00:00
luigi
41ff5573af Add missing files from previous commits. 1999-08-23 11:04:23 +00:00
luigi
4dc9c6202d Add missing file from previous commit 1999-08-23 11:02:08 +00:00
luigi
5ac09b3628 Remove some files probably forgotten from previous commit. 1999-08-23 10:23:32 +00:00
luigi
f4e491e93d Add missing files probably forgotten in previous commit 1999-08-23 10:19:15 +00:00
luigi
3486685dfa Add missing files probably forgotten in previous commit 1999-08-23 10:13:06 +00:00
luigi
1a7c6b5ed0 Add missing file probably forgotten from previous commit 1999-08-23 10:05:20 +00:00
luigi
e2e7549f11 More cleanup: move device entries in Picobsd makefiles in a more
accessible place.
1999-08-23 08:52:05 +00:00
luigi
56742da8c9 Additional cleanup of the picobsd scripts.
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
dwhite
9cda01decb Major PicoBSD update by luigi with some debugging help from myself.
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
1999-08-22 21:45:24 +00:00
luigi
fad170345a Enable printing of bridging statistics. 1999-08-17 03:30:34 +00:00
luigi
cf902ddda0 Fix a problem in printing interface names. 1999-08-12 05:40:07 +00:00
green
9e9718fcd7 DEFAULT_PAGE_SIZE was removed, pgtok defined in headers, headers cleaned up.
Obtained from:	Jonathan Towne <jontow@sysctl.urban-a.net>
1999-07-08 06:22:04 +00:00
des
3c4a5a075d Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00