Commit Graph

433 Commits

Author SHA1 Message Date
Josef Karthauser
d51352c9b1 MF4S: Syncronise with Luigi's work in -stable. 2001-04-23 20:25:40 +00:00
Josef Karthauser
18668d0278 MF4S: Sync with the developments that Luigi's been doing in -stable. 2001-04-23 19:55:03 +00:00
Josef Karthauser
7bba070f1c MF4S: Remove some unused error messages. (revision 1.1.2.5) 2001-04-23 19:52:13 +00:00
Josef Karthauser
378918c059 Apply style guidelines (using gident to help). 2001-04-23 19:38:41 +00:00
Josef Karthauser
2e8d39560e Fix a syntax error. 2001-04-23 18:41:48 +00:00
Josef Karthauser
b8ff2fec46 MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5) 2001-04-22 23:58:46 +00:00
Josef Karthauser
f7ea60ac9c FFS_ROOT was made obsolete, so remove it from the PicoBSD kernels. 2001-04-22 23:33:18 +00:00
Ruslan Ermilov
3c4869d927 Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
Luigi Rizzo
25801a0e8b Bring the new script into -current. Still untested here, but there
is a high chance that they work modulo minor things.
2001-02-20 17:09:40 +00:00
Luigi Rizzo
a3ab0e4551 Enable command line editing in the shell 2001-02-18 06:54:07 +00:00
Luigi Rizzo
b8c84b6286 Make correct entries for atapi disks 2001-02-18 06:50:40 +00:00
Luigi Rizzo
d486335f22 Make the right device entries for atapi disks 2001-02-18 06:48:25 +00:00
Luigi Rizzo
87483083e9 Bump version to 0.500 -- not that it means much, but at least
gives some idea on the age of the source used for the build.
2001-02-18 06:46:20 +00:00
Andrzej Bialecki
6d8476df78 Resurrect Minix sh(1), after its license has been changed to BSD one. 2001-02-10 22:57:33 +00:00
Luigi Rizzo
7a71790687 Add the MD_ROOT_SIZE option.
These files might need further work before producing a compilable kernel.
2001-02-01 21:05:52 +00:00
Luigi Rizzo
98f1f5f78e Add a required option, MD_ROOT_SIZE
also put in a better set of devices and options.
2001-02-01 21:04:32 +00:00
Luigi Rizzo
a0ab7f4419 Put picobsd build scripts in sync with the ones in -STABLE.
With these scripts i was able to build a _working_ image of a
bridge-like floppy image with a reasonable set of utilities
in it, despite the code size increase we have in 5.0

The scripts are slightly different from the previous ones especially
on the place where the kernel and binaries are built. Hopefully
this will not cause too much trouble to people (is there any???)
using the old scripts.
2001-01-29 22:47:46 +00:00
Luigi Rizzo
d39036aea6 Make the shell handle arrow keys 2001-01-27 03:25:01 +00:00
Luigi Rizzo
e5b68d5513 The magic for autodetecting the boot media does not work anymore
on STABLE or CURRENT.  Put the explicit name for the floppy.
2001-01-27 03:23:44 +00:00
Luigi Rizzo
4ff9c03cc5 Add dummy -n option, for compatibility with the standard netstat 2001-01-27 03:18:55 +00:00
Alexander Langer
5a86d4eafc Make the name of the init script and the interpreter compile time options.
If not defined, default to the old values (with _PATH_BSHELL instead
of "/bin/sh", though).

Reviewed by:	markm
2001-01-20 09:12:55 +00:00
Josef Karthauser
e1f903baf7 MF4: Allow the build process to continue even if crunchgen returns an error.
Most crunchgen errors are non-fatal.
2001-01-11 22:35:57 +00:00
Andrzej Bialecki
78d1fe9622 Fix so that the netmask is displayed correctly when it does not
consist of contiguous bits in little endian format. Before the fix
the netmask of 0xfffffff0 (0xf0ffffff in little endian format) was
displayed /24 instead of /28.

Also, add a missing include.

Submitted by:	Maxime Soule <Maxime.Soule@IPricot.com>
2001-01-10 23:06:31 +00:00
Andrzej Bialecki
e1f84360ff Reformat to be a bit closer to style(9). 2001-01-10 22:25:54 +00:00
Andrzej Bialecki
650da9d30a Fix breakage after moving from struct proc/eproc to kinfo_proc. 2001-01-10 22:24:07 +00:00
Josef Karthauser
1826f66757 Remove floppy.tree from the build directory. 2000-12-23 19:33:13 +00:00
Josef Karthauser
a9b625407d MF4: Update the bridge kernel config file to reflect the structure and
order that Luigi has just committed to RELENG_4.
2000-12-23 19:27:42 +00:00
Josef Karthauser
4050e5eb73 MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00
Josef Karthauser
04dbe0f9b9 Determine the names of the picobsd releases automatically.
Use the 'realclean' target in the crunch.mk file for cleaning the object
build tree.
2000-12-23 16:53:35 +00:00
Josef Karthauser
67970143f8 Remove COMPAT_OLDPCI. 2000-12-22 14:32:34 +00:00
Josef Karthauser
5e75ac9fe2 Utilise the -p file to crunchgen to specify where the objects should
be built and remove the previous glue that did the same thing.
2000-12-18 16:28:03 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Luigi Rizzo
5fed4e9f8c login.conf: we don't want coredumps on picobsd
rc.conf: make the system recognise the MAC address and assign an IP
    automatically from /etc/hosts (or ask the user)
sshd_config: don't do x11 forwarding.
2000-11-30 21:43:37 +00:00
Josef Karthauser
cc80a61ac0 Wrap the build options up into the crunch.conf file now that crunchgen
knows what to do with them.
2000-11-15 14:47:37 +00:00
Andrzej Bialecki
b974f7d892 Fix bitrot. 2000-11-11 16:12:39 +00:00
Josef Karthauser
5bc4c6bbce Remove libipsec and libradius. We're now building without support
for these by default.
2000-11-08 02:23:26 +00:00
Josef Karthauser
d08c457148 Fixup the /tmp directory permissions to 01777.
PR:     misc/15875
2000-11-07 20:40:21 +00:00
Josef Karthauser
57b8982cca Load the kernel and root file systems from floppy:/. 2000-11-07 12:33:46 +00:00
Josef Karthauser
c6e77fea54 Crunchgen now has the necessary magic to include the make hooks that
munge_crunchmk was adding for us.
2000-11-03 15:50:04 +00:00
Josef Karthauser
095aac1a86 Fold the buildopts into the existing crunch.inc file.
Deprecate the "global" crunch.inc file and the CRUNCHFLAGS global build
options.  Tools not policy.  Move these global settings out into each
picobsd distribution.
2000-11-03 01:33:03 +00:00
Josef Karthauser
be0d2a8f18 Build picobsd object files in /usr/obj/picobsd/${TYPE}. 2000-11-02 13:38:10 +00:00
Josef Karthauser
a5e7d98e8a Post process the crunch1.mk file to allow make arguments to passed on
a per program basis allowing a greater control on what is built.

The buildopts file contains Makefile lines of form:

	# Anything added to OPTS is added to every build rule.
	OPTS= -DNOPAM

	# These should only be added to the build of user-ppp.
	ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID \
		-DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH

Really these should be added to crunch.inc, but that file is currently
optional, and if defined masks the global one.  Next step will be to move
these global settings back out into the individual builds as OPTS, and
then migrate OPTS and prog_OPTS back into the local crunch.inc file.
2000-11-02 13:16:43 +00:00
Josef Karthauser
c7afc3e07c Remove an unneeded declaration for OBJ. 2000-11-02 12:46:02 +00:00
Josef Karthauser
0a007e03a9 Copy the built kernel from the right place. (Forgotten in the last
commit.)
2000-11-02 01:57:23 +00:00
Josef Karthauser
924ea87683 Make these PICOBSD's compile... well, almost. Still some work to
do on PPP (atm problems.)
2000-10-18 22:02:33 +00:00
Josef Karthauser
20841b5823 Update the crunch config:
* 'more' is now 'less'.
* telnet required libipsec.

This won't necessarily fit on a floppy, but at least it compiles now.
2000-10-16 08:21:35 +00:00
Josef Karthauser
72d93b8e80 Build the PICOBSD kernels using the 'make buildkernel' method. 2000-10-16 08:08:31 +00:00
Josef Karthauser
1e2b0ddcfa Fix the PICOBSD kernel configs. They're now converted to use
Peter's new format, and I'd added hints files for each.

The build process uses the PICOBSD.hints file as well as the config,
and additionally builds with -DNO_MODULES.  The build process
probably needs to be converted to use the 'buildkernel' method
instead of running config itself.

The kernels now compile.  I've not been able to test the crunch
process however because it used the vn driver and there are no
/dev/vn device nodes under devfs yet.  Maybe someone else could
give it a go.
2000-10-15 20:42:22 +00:00
Poul-Henning Kamp
f6b5c74c35 Initiate deorbit burn sequence for <machine/mouse.h>.
Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.
2000-10-09 08:08:36 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Neil Blakey-Milner
e7dbcdbd87 Fix the obvious make and sed syntax errors lurking from my last "fix". 2000-07-31 11:00:01 +00:00
Marcel Moolenaar
11017a687b Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
2000-07-23 16:33:00 +00:00
Ben Smithurst
37cc56f575 Remove <center> tags from with <title> section.
PR:		20002
Submitted by:	James Johnson <bonk1138@msn.com>
Approved by:	patrick (from freebsd-small mailing list)
2000-07-18 15:20:55 +00:00
Neil Blakey-Milner
42c4c88ae9 Add an empty crunch.inc with instructions that you can use it to adjust
the building of the crunched binary.

I'll add examples when I add the post-include mechanism, since the
crunch.mk environment stomps on the pre-included crunch.inc's variables
at the moment.
2000-07-18 13:49:17 +00:00
Neil Blakey-Milner
cb42083e46 Make a separate build directory in which to put all the generated
objects, to simplify working with PicoBSD.

Add the ability to put make instructions in crunch.inc to pass to the
build process.

Now explicitly make the objects in our own object tree, since we want to
build the objects with our own defines, and allow this to occur in a
common object tree for all PicoBSD builds, if required.  This is
controlled by the COMM_OBJ variable, for those who don't want this -
setting it to /usr/obj again will just pick up the objects from your
last make buildworld, as before.
2000-07-18 13:43:38 +00:00
Neil Blakey-Milner
1b9d3e55e0 Update PICOBSD-C kernel configuration to the new world order, grabbing
hints simply from GENERIC.hints.

Added a bunch of comments about usb devices, new network cards, and
IPv6.
2000-07-18 13:25:51 +00:00
Neil Blakey-Milner
ec082028ef Fix the one 'obj'-related breakage, and quieten the build. Also change
symlinks from '/sbin' to 'sbin', so following the links make sense when
not on the disk itself.
2000-07-18 12:17:54 +00:00
Neil Blakey-Milner
d295906767 First part of PicoBSD makeover, adding basic 'obj' facilities, allowing
for read-only src tree.

While I'm there:
1) Use kgzip, not kzip, since kzip certainly doesn't make bootable
kernels anymore.  loader still isn't built separately, let alone without
forth support.  This needs to be fixed.

2) Expand the mount/vnconfig examples to be the defacto way of making
sure the filesystems are mounted, unmounted, or not configured.  This
needs more work.

3) quieten the build substantially, so errors are more prominent

4) Start of '-j' ability.  Current style isn't quite in the correct
dependency format for this, but obvious mistakes (changing directories
in main shell) are fixed.

Approved by:	grog, dwhite, luigi (no objections to me doing a makeover)
2000-07-18 12:04:33 +00:00
Andrey A. Chernov
c5dfaf05b1 Add -L to mtree to preserve old functionality exact 2000-07-16 08:58:02 +00:00
Andrey A. Chernov
8b873d926b Add -L to mtree.
Not shure ever it needed for MFS, but just to keep old behaviour exact, can be
removed later
2000-07-16 08:44:40 +00:00
Roger Hardiman
85ae82d6f6 remove rc and login.conf files prior to extraction of the new
rc and login.conf files from the /etc directory on the floppy.

This prevents the overwrite yes/no prompt from occuring in gzip.
(some PicoBSD disks use gzip and some use minigzip, so the gzip -f flag (force)
is not an option. minigzip has a different meaning for the -f flag.}
2000-07-03 22:31:08 +00:00
Roger Hardiman
7bae8dfb17 Add .image.list to the list of temporary files which can be deleted 2000-07-01 13:51:22 +00:00
Roger Hardiman
3092789a18 Add a missing 'fi' from an if statement 2000-07-01 12:04:15 +00:00
Roger Hardiman
5bbd55b415 Add 'bridge' so we can clean up the bridge files too 2000-07-01 04:40:01 +00:00
Luigi Rizzo
1bcc7e80bf Move mfs-related files to a different subtree 2000-05-31 12:27:38 +00:00
Luigi Rizzo
f09a623ad9 Move mfs-related files to a new location 2000-05-31 12:25:39 +00:00
Doug White
9547f4e793 Remove mistakenly added {o}init. The build system adds it automatically. 2000-04-25 19:03:31 +00:00
Doug White
223b633217 Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt.  Now it uses the first
  unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment.  The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK.  I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR:		misc/17737
Submitted by:	Omachonu Ogali <oogali@intranova.net>
2000-04-25 19:00:08 +00:00
Luigi Rizzo
cc89db0c68 Fix bogus reporting of interface names, the field returned
in sdl_data is not 0-terminated
2000-03-21 12:09:23 +00:00
Patrick S. Gardella
99d780c74a Remove "conflicts" from kernel config files for picobsd.
PR:	17383
Submitted by: Kelly Yancey <kbyanc@posi.net>
2000-03-16 02:45:42 +00:00
Luigi Rizzo
569d406fb6 Populate directory...
Approved-by: jordan
2000-02-09 10:25:19 +00:00
Luigi Rizzo
59d850390a Crunched image config for bridge
Approved-by: jordan
2000-02-09 10:04:32 +00:00
Luigi Rizzo
db619074e3 Misc files for bridge floppy type
Approved-by: jordan
2000-02-09 10:01:30 +00:00
Luigi Rizzo
f2ac100560 Config file for bridge image
Approved-by: jordan
2000-02-09 09:59:05 +00:00
Luigi Rizzo
17ba97a25c Update configuration files, remove unused mfs.mtree
Approved-by: jordan
2000-02-09 08:50:55 +00:00
Luigi Rizzo
ff74e1c8e9 Update kernel config file.
Approved-by: jordan
2000-02-09 08:48:36 +00:00
Luigi Rizzo
752b4f600f Remove unused files.
Approved-by: jordan
2000-02-08 15:40:53 +00:00
Luigi Rizzo
a43bd80325 Remove unused files
Approved-by: jordan
2000-02-08 15:37:25 +00:00
Luigi Rizzo
cceb343a97 Remove unused files
Approved-by: jordan
2000-02-08 15:21:43 +00:00
Luigi Rizzo
05a8cbfa9a Update config files
Approved-by: jordan
2000-02-08 15:15:53 +00:00
Luigi Rizzo
527dd2b7a1 Update configuration files.
Approved-by: jordan
2000-02-08 15:14:27 +00:00
Luigi Rizzo
6e4a7f7049 Remove unused files.
Approved-by: jordan
2000-02-08 15:09:50 +00:00
Luigi Rizzo
a5e3422574 Remove unused file
Approved-by: jordan
2000-02-08 15:04:39 +00:00
Luigi Rizzo
361725a2ca Update makefile and kernel config file
Approved-by: jordan
2000-02-08 14:49:31 +00:00
Luigi Rizzo
5b07faf82f Remove unused files
Approved-by: jordan
2000-02-08 14:38:10 +00:00
Luigi Rizzo
84d1c90536 Remove unused Makefile
Approved-by: jordan
2000-02-08 14:28:43 +00:00
Luigi Rizzo
52b7336b10 Cleanup of the default floppy tree for PicoBSD builds.
Approved-by: jordan
2000-02-08 14:20:54 +00:00
Luigi Rizzo
abf070d11d Update files for "isp" floppy type.
Approved-By: jordan
2000-02-08 11:42:08 +00:00
Luigi Rizzo
c97822e186 Add global version of mfs.mtree -- this is common to most floppy types
Approved-by: jordan
2000-02-08 11:39:28 +00:00
Luigi Rizzo
0ce83089f8 Remove unused files
Approved-by: jordan
2000-02-08 11:37:40 +00:00
Luigi Rizzo
a918adf25f Update config file 2000-02-08 09:14:23 +00:00
Luigi Rizzo
d8a9ec78b2 Remove mfs.mtree, there is now a global version in ../build
Approved-By: jordan
2000-02-08 08:42:52 +00:00
Luigi Rizzo
17ed87528d Remove unused files. Reboot is now part of the crunched image,
and if you decide to "update" your system you better know a bit
of english!

Approved-By: jordan
2000-02-08 08:41:03 +00:00
Luigi Rizzo
dff86e3271 Remove the (now unused; it is in ../../build/Makefile.crunch)
Makefile, update crunch.conf

Approved-By: jordan
2000-02-08 08:37:50 +00:00
Luigi Rizzo
bdc410e54d Add a new file to be included by the makefiles used by crunchgen
(this is a convenient place to put Make variables until we add a -D
option to crunchgen).

Approved-By: jordan
2000-02-08 08:29:18 +00:00
Luigi Rizzo
d13031514e The Makefile for building the crunched image is the same
for almost all images, so let's have a centralized copy.

Approved-By: jordan
2000-02-08 08:27:55 +00:00
Luigi Rizzo
f908e29f8d Cleanup the build scripts.
Approved-by: jordan
2000-02-08 08:25:00 +00:00
Luigi Rizzo
f144de8b3d Remove unused files.
Approved-By: jordan
2000-02-08 08:19:04 +00:00
Luigi Rizzo
e9a9d8ebf5 Start the cleanup of PicoBSD build scripts and general build
structure.
These changes have been discussed with Greg Lehey and posted on
freebsd-small (most things in the PicoBSD tree were already broken
so things can only improve!)

Approved-By: jordan
2000-02-08 08:13:47 +00:00
Kris Kennaway
b0e9a6041b Set MAINTAINER=freebsd-small with an explanation to submit all
proposed changes to freebsd-small for discussion prior to commit.

Reviewed by:	freebsd-small
2000-02-04 07:26:22 +00:00
Greg Lehey
301cc81ed3 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
Greg Lehey
bc702a4474 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
Greg Lehey
35bce93fbf 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
Greg Lehey
b8b1ea6738 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
Greg Lehey
4f8959ac97 Move even more programs to the second floppy as the kernel bloats. 1999-12-20 02:10:55 +00:00
Greg Lehey
a06031eb6c 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
Greg Lehey
4b61b305c0 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
Jordan K. Hubbard
b99df5acb5 Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00
Jordan K. Hubbard
bb0ea411a8 Update to use MD disk instead of MFS 1999-12-16 02:08:52 +00:00
John Polstra
740ab0e829 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
Greg Lehey
0f33c9fb91 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
Greg Lehey
2bdf2cff05 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
Pierre Beyssac
58387d7595 A (harmless) forgotten MFS_ROOT -> MD_ROOT. 1999-11-30 21:41:11 +00:00
Pierre Beyssac
b20d9ccb75 A forgotten "disk" -> "device". 1999-11-30 21:24:31 +00:00
Pierre Beyssac
e2285320a6 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 Hardiman
f5d0153981 Update PicoBSD so it does not need to patch the passwd Makefile. 1999-10-30 09:19:30 +00:00
Doug White
96df778049 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
Doug White
eb5fe92141 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
Doug White
5c52794973 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
Doug White
3eaa4cd425 Be explicit about kzip location to avoid accidentally calling KDE kzip. 1999-10-11 05:13:52 +00:00
Doug White
f691269881 Add documentation for the PicoBSD install floppy. 1999-10-08 05:20:06 +00:00
Doug White
88e4dbacdb 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
Doug White
0a2478e155 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
Doug White
a17382473e MFS: Dialog-ify 'reuse custom directory' question. 1999-08-29 19:11:11 +00:00
Roger Hardiman
fc7998f35f Backout my last commit. Exit status is $? 1999-08-28 08:04:15 +00:00
Roger Hardiman
cdd87770ec Add file which was missed in last commits due to CVS problems 1999-08-28 06:24:16 +00:00
Roger Hardiman
6340ac2f2a Add file which was missing from previous commits 1999-08-28 06:22:07 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Roger Hardiman
3795f47b11 '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 Hardiman
b32a0e48f8 Sync with -stable version 1999-08-26 18:36:36 +00:00
Roger Hardiman
06e96d9dea Comment out references to ssh to allow builds to complete. 1999-08-26 17:58:58 +00:00
Roger Hardiman
15c3245acb Update so it applies cleanly 1999-08-26 15:17:24 +00:00
Roger Hardiman
edeebf5897 Update patch so it applies cleanly 1999-08-26 15:13:00 +00:00
Roger Hardiman
e9509fb8fa 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
Doug White
722eb6eda0 Add missing quote. 1999-08-25 01:12:55 +00:00
Doug White
11cef18f44 Fix patch so it applies without asking for a filename. 1999-08-24 23:28:26 +00:00
Doug White
5262c12c2b 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 Rizzo
c464d06ff4 Add missing files from previous commits. 1999-08-23 11:04:23 +00:00
Luigi Rizzo
d4c9c82f8d Add missing file from previous commit 1999-08-23 11:02:08 +00:00
Luigi Rizzo
42fd4cf364 Remove some files probably forgotten from previous commit. 1999-08-23 10:23:32 +00:00
Luigi Rizzo
6b59f6afe4 Add missing files probably forgotten in previous commit 1999-08-23 10:19:15 +00:00
Luigi Rizzo
05e0775526 Add missing files probably forgotten in previous commit 1999-08-23 10:13:06 +00:00
Luigi Rizzo
124f628b5d Add missing file probably forgotten from previous commit 1999-08-23 10:05:20 +00:00
Luigi Rizzo
5349eb69a5 More cleanup: move device entries in Picobsd makefiles in a more
accessible place.
1999-08-23 08:52:05 +00:00
Luigi Rizzo
0b86462de0 Additional cleanup of the picobsd scripts.
Also bump Version to 0.445
1999-08-23 08:33:08 +00:00
Doug White
843fcabd9e 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 Rizzo
6bbeddc1ea Enable printing of bridging statistics. 1999-08-17 03:30:34 +00:00
Luigi Rizzo
a18ff8bea7 Fix a problem in printing interface names. 1999-08-12 05:40:07 +00:00
Brian Feldman
c6080e5453 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
Dag-Erling Smørgrav
6b5ca0d83e Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
Roger Hardiman
105d5f266a MFS: No longer needed with PicoBSD 0.44 1999-06-15 12:51:57 +00:00
Roger Hardiman
3e69db1b49 MFS: No longer needed in PicoBSD 0.44 1999-06-15 12:40:32 +00:00
Roger Hardiman
f2488e30c5 MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:45:25 +00:00
Roger Hardiman
27c2745d8a MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:40:13 +00:00
Roger Hardiman
b8f659fe68 Last commit was incorrect. Remove the 'rp' PCI device 1999-06-14 18:16:51 +00:00
Roger Hardiman
45f63ade9b Comment out the PCI Comtrol Rocketport entries.
The PicoBSD 'isp' build fails when both the PCI and ISA versions of the
'rp' driver are included at the same time
1999-06-14 18:08:17 +00:00
Roger Hardiman
a48da6e82e Update to PicoBSD 0.44 from RELENG_3 1999-06-14 16:48:23 +00:00
Roger Hardiman
d7e03a941e Update to PicoBSD 0.44 (from RELENG_3) 1999-06-14 16:36:50 +00:00
Roger Hardiman
75663a1769 Update to PicoBSD 0.44 from RELENG_3 1999-06-14 15:45:56 +00:00
Roger Hardiman
a4d0e7358a Update to PicoBSD 0.44 from RELENG_ 1999-06-14 15:45:41 +00:00
Roger Hardiman
6d30ce34c5 Update PicoBSD kernel config files. Changes are
removal of bio, tty, net
  removal of quotes
  switches from isa? to nexus? or atkbdc?
  additional comments

  These bring the kernel config files in sync with those in
  RELENG_3
1999-05-24 17:27:30 +00:00
Andrzej Bialecki
934ebc48ce Deal with MAKEDEV's braindedness.
Submitted by:	Patrick Powell <papowell@astart4.astart.com>
Reviewed by:	abial
1999-05-05 08:37:46 +00:00
Andrzej Bialecki
a4cc706896 Simple_HTTPd on steroids - major rework of the original program, by
William Lloyd. New features include:

* many additional command line options
* "fetch" mode
* less bugs :-)
* better README.

Submitted by:	William Lloyd <wlloyd@lap.net>
Reviewed by:	abial
1999-05-05 07:22:34 +00:00
Tim Vanderhoek
61f74535f6 Change references from "passwordperiod" to "passwordtime", since
"passwordtime" is what passwd(1) has actually been using.  I suspect
passwordperiod was the original intent.  I can't figure-out which,
if either, BSDi uses.  If anyone knows...
1999-04-30 18:19:46 +00:00
Andrzej Bialecki
9509885927 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
Andrzej Bialecki
5a1e113f67 Copy the 'reboot' script only for "dial" floppy. 1999-02-15 00:27:00 +00:00
Andrzej Bialecki
f8ee1a074a Merge from RELENG_3. 1999-02-12 20:36:13 +00:00
Dag-Erling Smørgrav
8a8c13bd0d Use ppbus instead of the lpt driver. 1999-02-10 02:26:04 +00:00
Andrzej Bialecki
cfc0e28a51 Add missing "quit". 1999-01-19 23:15:56 +00:00
Andrzej Bialecki
9dacf92623 Don't start (now) noneexistent snmpd. 1999-01-19 23:15:41 +00:00
Andrzej Bialecki
05693a30ce Remove generated copy of the file. 1999-01-19 23:14:30 +00:00
Andrzej Bialecki
d3ce4405b6 Add NOPAM hook. 1999-01-19 23:12:50 +00:00
Andrzej Bialecki
281c9803a2 Remove PROCFS - we don't use it. 1999-01-19 23:12:27 +00:00
Andrzej Bialecki
b37d50de2e Remove snmp for now - it has to either shrink, or we have to invent
something else...
1999-01-19 23:11:50 +00:00
Andrzej Bialecki
bc8fb49115 Add NOPAM hook to be able to use login(1) here... 1999-01-19 23:10:34 +00:00
Andrzej Bialecki
9f63a91c4c Sync more with reality... 1999-01-19 23:09:46 +00:00
Andrzej Bialecki
3f81b6e1f1 Emulate getpass behaviour when asking for user's password.
Add ability to use PAP/CHAP authentication in auto-generated ppp.conf.

Let users edit ppp arguments before the first run.
1999-01-19 23:09:15 +00:00
Andrzej Bialecki
0b8ce10c41 Add stty to emulate getpass in dialup script. 1999-01-19 23:07:17 +00:00
Andrzej Bialecki
0b0da843a9 Next round of fixes before 3.1-RELEASE. 1999-01-19 23:02:05 +00:00
Andrzej Bialecki
d27f3d61be Bump version number to 0.43 1999-01-19 23:01:25 +00:00
Andrzej Bialecki
d54d292d52 Fix copy & paste error.
Submitted by:	Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
1999-01-18 10:17:38 +00:00
Daniel O'Callaghan
7621c7c32a Fix Makefile so it works.
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 03:50:10 +00:00
Andrzej Bialecki
6b75c010a0 Use the new kget syntax. 1999-01-14 23:23:19 +00:00
Andrzej Bialecki
e8929da0c5 Add natd entry. 1999-01-14 23:23:02 +00:00
Andrzej Bialecki
f6e84454ab Change to new syscons devices. 1999-01-14 23:22:51 +00:00
Andrzej Bialecki
6cca71034d Use the new syntax for kget. 1999-01-14 23:21:04 +00:00
Andrzej Bialecki
1c8e558414 Fix to match new syntax for kget. 1999-01-14 23:19:47 +00:00
Andrzej Bialecki
d0efc0c9cd Change to the new syscons devices. 1999-01-14 23:15:39 +00:00
Andrzej Bialecki
b9068e0a34 Make transition to ELF kernel. Fix the userconfig_script handling. 1999-01-14 23:14:46 +00:00
Satoshi Asami
0e510aed5b Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
Andrzej Bialecki
b51e08ff33 Replace kget with version which obtains its info from newly added
sysctl machdep.uc_devlist, instead of /dev/kmem.
1999-01-08 21:09:42 +00:00
Andrzej Bialecki
cf99ccfbc0 Fix typo.
Submitted by:	Ilya V. Komarov <mur@lynx.ru>
1998-12-22 21:40:56 +00:00
Andrzej Bialecki
b75443c896 Fix errors in last commit. 1998-11-25 14:59:28 +00:00
Andrzej Bialecki
19f4762b5a New revision of UCI project document. Comments are welcome... 1998-11-25 11:08:54 +00:00
Andrzej Bialecki
122d2c5921 Update ssh version number. It's only informational, anyway.
Submitted by:	jkh
1998-11-15 23:30:26 +00:00
Andrzej Bialecki
10639dcf77 Use console instead of ttyv0 - it didn't work with serial console... 1998-11-15 23:26:32 +00:00
Andrzej Bialecki
a55946faaf Change USERCONFIG_BOOT -> INTRO_USERCONFIG 1998-11-14 20:10:23 +00:00
Dag-Erling Smørgrav
fb46af4f6c Back out previous commit. The bpfilter -> bpf transition will have to be a
flag day unless we can hack config(8) to smooth things over.
1998-11-03 22:01:22 +00:00
Dag-Erling Smørgrav
10b4ab477f Rename the 'bpfilter' pseudo-device to 'bpf'. The old syntax is still legal
and will stick around for a while.
1998-11-03 21:12:20 +00:00
Andrzej Bialecki
e0b7bc571a Changed my e-mail address. 1998-11-01 20:19:43 +00:00