44 Commits

Author SHA1 Message Date
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
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
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
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
dwhite
e0240141ee Add missing quote. 1999-08-25 01:12:55 +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
roger
8aaed59fdd Update to PicoBSD 0.44 from RELENG_3 1999-06-14 15:45:56 +00:00
abial
52c6e124b0 Take boot1/boot2 from their new place, i.e. /boot/, not from
(currently nonexistent) /usr/mdec/.

Submitted by:	luigi
1999-03-09 21:15:08 +00:00
abial
e504062bce Copy the 'reboot' script only for "dial" floppy. 1999-02-15 00:27:00 +00:00
abial
35ae892d35 Merge from RELENG_3. 1999-02-12 20:36:13 +00:00
abial
151e711453 Next round of fixes before 3.1-RELEASE. 1999-01-19 23:02:05 +00:00
abial
6fb0dad2ed Make transition to ELF kernel. Fix the userconfig_script handling. 1999-01-14 23:14:46 +00:00
abial
6d1cb55661 Allow to use other floppy sizes for "router" floppy. 1998-10-25 15:15:55 +00:00
abial
e8799dedf6 Various fixups and corrections to match the 3.0-RELEASE tree.
The PicoBSD version is now 0.42.
1998-10-15 21:40:07 +00:00
abial
19b039f9a4 Better handling of "custom" setup.
Submitted by:	Randal Masutani <randal@comtest.com>
1998-09-29 11:58:54 +00:00
abial
4b94d1ed41 Small rearrangements for a bugfix release 0.41. 1998-09-26 17:27:26 +00:00
abial
70df17cc7d Correct comment in the "build" script about aout/ELF. 1998-09-23 14:54:46 +00:00
abial
1f1f8a83ca All PicoBSD userland is now ELF. This buys us extra 15-30kB on the floppy.
NOTIE: If you don't use /usr/obj (or you wiped it), remember to clean also
the source tree of stale .depend and *.o files...
1998-09-22 15:40:00 +00:00
abial
205e0d1f5a Hmm... Let's make the switch to non-DEVFS actually work. :-/ 1998-09-20 00:46:27 +00:00
abial
610fc53b70 Kill the remnants of DEVFS, since it's broken without the SLICE code...
Pity - it was _very_ handy.

This also required increasing of MFS size, so that PicoBSD consumes more
memory now...
1998-09-19 21:45:18 +00:00
abial
e878e33d01 Update ucd-snmp to version 3.5. It's slightly bigger, so also increase
the MFS size of net and isp floppies.

Add comment to crunch.conf on how to prepare the ucd-snmp port to work
with the build process.

Submitted by:	Jim Flowers <jflowers@ezo.net>
1998-09-15 11:12:25 +00:00
abial
9993c373dc Fix to properly newfs the MFS in case of custom setup. Mention this in docs.
Submitted by:	Richard Wackerbarth <rkw@Dataplex.NET>
1998-09-11 13:14:33 +00:00
abial
06f84d5212 Change the way the help files are stored, and save ca. 30kB on the
"dial" floppy.

Submitted by:	Eric P. Scott <eps@sirius.com>
1998-09-07 19:00:34 +00:00
abial
25736f2460 Set the ${suffix} only once... 1998-09-07 06:46:25 +00:00
abial
6e0b0b48ec Added special type of setup called 'custom'. It allows you to supply
your own config directory laid out exactly like the standard ones.

Suggested by:	Richard Wackerbarth <rkw@dataplex.net>
1998-09-04 19:38:57 +00:00
abial
9e91d3d6c6 Set OBJFORMAT=aout to affect the whole build - for now, it seems that too
many tools needed to build the floppies are dependent on a.out...
1998-09-04 08:08:05 +00:00
abial
3d3bcf57cf Minor fixes to 'clean' script.
Changed the 'build' script to use ../${TYPE}/conf/Makefile in order to
have true dependency of kernel image on the kernel config file.
1998-09-03 10:40:27 +00:00
abial
a5cf33f88f Set OBJFORMAT=aout, until crunchide learns about ELF format... 1998-09-03 10:16:03 +00:00
abial
d4d86f1afd Remove CVS directories from the target floppy.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:35:06 +00:00
abial
eb89ee0b59 This commit was generated by cvs2svn to compensate for changes in r38589,
which included commits to RCS files with non-trunk default branches.
1998-08-27 17:38:45 +00:00
abial
d38ad53320 Initial import of PicoBSD v0.4 tree. 1998-08-27 17:38:45 +00:00
phk
5026643ad5 Add a "I know it points to my foot!" -f option.
PR:		3288
Reviewed by:	phk
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-09-18 18:27:34 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
phk
9389f84a98 This is a helper program to patch a filesystem into a "MFS_ROOT" kernel. 1995-04-25 03:45:18 +00:00