Commit Graph

457 Commits

Author SHA1 Message Date
luigi
6a07ae7b3f Move commands to create stripped kernel into Makefile.conf,
so as to make the "picobsd" script less version-specific.

Improve handling of cross-builds (which requires creation of
includes and libraries for the new source tree).

The "picobsd" script will not probably work on -current because it still
uses 'vn' instead of 'md', but i am commiting it anyways to keep it
in sync with the version in -stable.
2001-09-04 02:01:52 +00:00
luigi
0dc160055e use correct "compile" directory, which is ../../compile/<filename>
This does not apply to RELENG_4 for which the compile directory is
../compile/<filename>
2001-09-01 21:19:15 +00:00
luigi
fe1db6c569 Supply a default value for the kernel config binary. 2001-09-01 19:16:00 +00:00
luigi
056bad6e37 Bugfix: Use the correct variable for picobsd type (same bug is
present in STABLE).  Also add a bit more logging (when enabled).
2001-09-01 18:27:39 +00:00
luigi
3d846e3b57 add a missing -o.
There might be some other bug related to OBJDIR handling, once
fixed these changes can be MFC immediately.
2001-08-30 21:39:14 +00:00
kris
6fde30d182 s/adress/address/
Inspired by:    OpenBSD
MFC After:      1 week
2001-07-23 12:05:27 +00:00
dd
eaa6ee03b8 mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
brian
8636b161b3 Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
tmm
5dfce6cabc Account for the machdep.msgbuf -> kern.msgbuf renaming. 2001-07-03 19:51:53 +00:00
luigi
0308c79343 Remove tcpdump from the list of binaries. When cross-compiling
I get a link error on in6addr_<something> and i cannot find the
symbol in any of the libraries. It might be my mistake, but in any
case the crunched binary would overflow the floppy, so...

This applies to -current only.
2001-06-21 08:59:12 +00:00
luigi
044c990b8e Remove support of I386_CPU in -current.
Make sure hints are statically compiled into the kernel,
because the bootloader is not available in picobsd and so the
hints file cannot be found at run time.

(This is kind of inconvenient if you have to handle non PnP devices,
but fortunately these days non-PnP ISA cards are disappearing...)
2001-06-21 08:56:59 +00:00
luigi
baaa515eea Use /dev/fd0 instead of /dev/fd0c for mounting the floppy.
This must have to do with the use of devfs in -CURRENT, but i
have no idea when the devfs is actually mounted (is it a
side effect of mount -t nonfs or what ?) and when /dev/fd0c becomes
available.
For the time being, let's use this hack. Once I understand how devfs
works, this can be reverted back to the previous value, and also the
part of the build script which creates device entries can be nuked.
This is for -current only.
2001-06-21 08:53:21 +00:00
luigi
d0e44d0515 Move handling of crunch* files into Makefile.conf, which is a
better place to handle dependencies.

Make another step at helping cross-compiling: when the user specifies
an alternate source tree, the script takes care of creating include
files and libraries for the new tree.
Furthermore, build and use a version of the "config" program which
matches the new sources.

It takes a long time to create libraries, and it might even not do
the right thing at once, there might be some dependencies that i
have forgotten. At any rate, with this code i have been able to
build a working picobsd image using -CURRENT sources on -STABLE

MFC after: 3 days
2001-06-21 08:49:46 +00:00
luigi
f8470009b7 Move variable assignement after argument parsing, to improve handling
of alternate source trees.

Also improve verbose behaviour.
2001-06-20 14:16:48 +00:00
ache
3e928e7e2b ISO_ -> ISO 2001-06-11 02:00:33 +00:00
ru
cb4a4b2415 mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 12:06:06 +00:00
luigi
a7dce39116 Sync picobsd script with the one in -stable, and also
patch boot2 so it goes to load /kernel right away

Perl code from Josef Karthauser
2001-05-11 07:39:40 +00:00
luigi
b09f348936 This file is not needed, use the default one 2001-05-10 05:03:43 +00:00
luigi
b1718bd0f1 remove a reference to a nonexisting script, "clean", when
building all images. Also, build "bridge" image as well.

Reported-by: Bruce Montague
2001-05-08 20:44:37 +00:00
luigi
aa828ec2a8 MFS: use absolute, not relative path for tinyware 2001-05-08 20:38:52 +00:00
schweikh
dfc0eb7336 pseudo-device -> device in kernel config.
Approved by:	joerg, dd
2001-05-01 10:52:50 +00:00
joe
810d87b74f MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:46:35 +00:00
joe
03a1636848 MF4S: Syncronise with Luigi's work in -stable. 2001-04-24 07:12:34 +00:00
joe
bcc74c4e75 MF4S: Syncronise with Luigi's work in -stable. 2001-04-23 20:25:40 +00:00
joe
6a06ad11d4 MF4S: Sync with the developments that Luigi's been doing in -stable. 2001-04-23 19:55:03 +00:00
joe
a02bf6d92b MF4S: Remove some unused error messages. (revision 1.1.2.5) 2001-04-23 19:52:13 +00:00
joe
d8bc9129a9 Apply style guidelines (using gident to help). 2001-04-23 19:38:41 +00:00
joe
5a5c4156f3 Fix a syntax error. 2001-04-23 18:41:48 +00:00
joe
350bc3b611 MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5) 2001-04-22 23:58:46 +00:00
joe
a3c1ed5d3d FFS_ROOT was made obsolete, so remove it from the PicoBSD kernels. 2001-04-22 23:33:18 +00:00
ru
d042566442 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
b355ac847e 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
8d41a8fd84 Enable command line editing in the shell 2001-02-18 06:54:07 +00:00
luigi
029b2aa853 Make correct entries for atapi disks 2001-02-18 06:50:40 +00:00
luigi
b7addf6e52 Make the right device entries for atapi disks 2001-02-18 06:48:25 +00:00
luigi
2c33de40fb 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
abial
176502fbae Resurrect Minix sh(1), after its license has been changed to BSD one. 2001-02-10 22:57:33 +00:00
luigi
5540aaf500 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
9f0ad38153 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
35aa9c12fd 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
3a6d990128 Make the shell handle arrow keys 2001-01-27 03:25:01 +00:00
luigi
3bda6765ed 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
d96206dc6f Add dummy -n option, for compatibility with the standard netstat 2001-01-27 03:18:55 +00:00
alex
f725213b09 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
joe
248dcf9cd6 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
abial
9f9ad5c48c 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
abial
d1df263f65 Reformat to be a bit closer to style(9). 2001-01-10 22:25:54 +00:00
abial
7c0baff27a Fix breakage after moving from struct proc/eproc to kinfo_proc. 2001-01-10 22:24:07 +00:00
joe
974f411f61 Remove floppy.tree from the build directory. 2000-12-23 19:33:13 +00:00
joe
10bfaa46c7 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
joe
697d87a94b MF4: revision 1.3.2.1.
inetd is not always present, check before invoking it.
2000-12-23 19:11:53 +00:00
joe
356c43e7d5 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
joe
27bc62ade6 Remove COMPAT_OLDPCI. 2000-12-22 14:32:34 +00:00
joe
da659a3560 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
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
luigi
ba3d6eb3b3 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
joe
418adb06fe 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
abial
790f7bdd84 Fix bitrot. 2000-11-11 16:12:39 +00:00
joe
e896acb121 Remove libipsec and libradius. We're now building without support
for these by default.
2000-11-08 02:23:26 +00:00
joe
bbb1fb2325 Fixup the /tmp directory permissions to 01777.
PR:     misc/15875
2000-11-07 20:40:21 +00:00
joe
2dc2aaa85a Load the kernel and root file systems from floppy:/. 2000-11-07 12:33:46 +00:00
joe
a25227ce20 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
joe
e25128632b 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
joe
2e956aba36 Build picobsd object files in /usr/obj/picobsd/${TYPE}. 2000-11-02 13:38:10 +00:00
joe
8791fdf576 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
joe
04cb3e1100 Remove an unneeded declaration for OBJ. 2000-11-02 12:46:02 +00:00
joe
41d443e4ee Copy the built kernel from the right place. (Forgotten in the last
commit.)
2000-11-02 01:57:23 +00:00
joe
e614f73122 Make these PICOBSD's compile... well, almost. Still some work to
do on PPP (atm problems.)
2000-10-18 22:02:33 +00:00
joe
ed2cf1aae0 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
joe
f017b1a42f Build the PICOBSD kernels using the 'make buildkernel' method. 2000-10-16 08:08:31 +00:00
joe
76e0aec5a2 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
phk
410d456c0b 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
phk
a4f549597e 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
nbm
871ca0fce6 Fix the obvious make and sed syntax errors lurking from my last "fix". 2000-07-31 11:00:01 +00:00
marcel
510255570c 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
d675aadfd7 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
nbm
0f21f86dbf 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
nbm
f270eba83c 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
nbm
6dc2b8f562 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
nbm
1706723a04 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
nbm
bc7cebd01f 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
ache
1c12e42639 Add -L to mtree to preserve old functionality exact 2000-07-16 08:58:02 +00:00
ache
6eee0d45af 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
b76d84240a 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
88ee2872aa Add .image.list to the list of temporary files which can be deleted 2000-07-01 13:51:22 +00:00
roger
6dc2cfa6c6 Add a missing 'fi' from an if statement 2000-07-01 12:04:15 +00:00
roger
d65ba30aaf Add 'bridge' so we can clean up the bridge files too 2000-07-01 04:40:01 +00:00
luigi
3b7e236de2 Move mfs-related files to a different subtree 2000-05-31 12:27:38 +00:00
luigi
d929968cbc Move mfs-related files to a new location 2000-05-31 12:25:39 +00:00
dwhite
ca3d3a02eb Remove mistakenly added {o}init. The build system adds it automatically. 2000-04-25 19:03:31 +00:00
dwhite
de8b1605ae 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
5485a32a23 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
224e9240a1 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
3e19b530ec Populate directory...
Approved-by: jordan
2000-02-09 10:25:19 +00:00
luigi
20d2eee84a Crunched image config for bridge
Approved-by: jordan
2000-02-09 10:04:32 +00:00
luigi
b9640344ac Misc files for bridge floppy type
Approved-by: jordan
2000-02-09 10:01:30 +00:00
luigi
87014203d0 Config file for bridge image
Approved-by: jordan
2000-02-09 09:59:05 +00:00
luigi
8ab3c767e4 Update configuration files, remove unused mfs.mtree
Approved-by: jordan
2000-02-09 08:50:55 +00:00
luigi
24553c7b24 Update kernel config file.
Approved-by: jordan
2000-02-09 08:48:36 +00:00
luigi
a5ec2c9c35 Remove unused files.
Approved-by: jordan
2000-02-08 15:40:53 +00:00
luigi
38c429a3aa Remove unused files
Approved-by: jordan
2000-02-08 15:37:25 +00:00
luigi
71913a025e Remove unused files
Approved-by: jordan
2000-02-08 15:21:43 +00:00
luigi
0232bb4970 Update config files
Approved-by: jordan
2000-02-08 15:15:53 +00:00
luigi
c9c53f6886 Update configuration files.
Approved-by: jordan
2000-02-08 15:14:27 +00:00
luigi
e6c25a0a6d Remove unused files.
Approved-by: jordan
2000-02-08 15:09:50 +00:00
luigi
987bc6f8d7 Remove unused file
Approved-by: jordan
2000-02-08 15:04:39 +00:00
luigi
ee5390c912 Update makefile and kernel config file
Approved-by: jordan
2000-02-08 14:49:31 +00:00
luigi
87e4d8b5a7 Remove unused files
Approved-by: jordan
2000-02-08 14:38:10 +00:00
luigi
e15f479af2 Remove unused Makefile
Approved-by: jordan
2000-02-08 14:28:43 +00:00
luigi
044b357a31 Cleanup of the default floppy tree for PicoBSD builds.
Approved-by: jordan
2000-02-08 14:20:54 +00:00
luigi
80faf1710f Update files for "isp" floppy type.
Approved-By: jordan
2000-02-08 11:42:08 +00:00
luigi
e222c2e6c8 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
f0385db4bc Remove unused files
Approved-by: jordan
2000-02-08 11:37:40 +00:00
luigi
7fa5bb73de Update config file 2000-02-08 09:14:23 +00:00
luigi
7664286a47 Remove mfs.mtree, there is now a global version in ../build
Approved-By: jordan
2000-02-08 08:42:52 +00:00
luigi
f0cf84ef7a 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
25e0d57411 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
87daff0de5 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
7a9620709a 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
96619dbf47 Cleanup the build scripts.
Approved-by: jordan
2000-02-08 08:25:00 +00:00
luigi
59de40572b Remove unused files.
Approved-By: jordan
2000-02-08 08:19:04 +00:00
luigi
bb4fc0a1dd 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
13f2d479a7 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
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
roger
6ea3db6934 MFS: No longer needed with PicoBSD 0.44 1999-06-15 12:51:57 +00:00
roger
56ced8ddfc MFS: No longer needed in PicoBSD 0.44 1999-06-15 12:40:32 +00:00
roger
d66dc63b38 MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:45:25 +00:00
roger
a5ee39b837 MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:40:13 +00:00
roger
8ca92b9b95 Last commit was incorrect. Remove the 'rp' PCI device 1999-06-14 18:16:51 +00:00
roger
746dbf8125 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
935b9e8f36 Update to PicoBSD 0.44 from RELENG_3 1999-06-14 16:48:23 +00:00
roger
1d10595f4f Update to PicoBSD 0.44 (from RELENG_3) 1999-06-14 16:36:50 +00:00
roger
8aaed59fdd Update to PicoBSD 0.44 from RELENG_3 1999-06-14 15:45:56 +00:00
roger
896f01d1d7 Update to PicoBSD 0.44 from RELENG_ 1999-06-14 15:45:41 +00:00
roger
c32c865045 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
abial
a56a225db6 Deal with MAKEDEV's braindedness.
Submitted by:	Patrick Powell <papowell@astart4.astart.com>
Reviewed by:	abial
1999-05-05 08:37:46 +00:00
abial
44741b5aa7 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
hoek
a4398bb850 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
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
des
9e7ce1fd58 Use ppbus instead of the lpt driver. 1999-02-10 02:26:04 +00:00
abial
921f53138d Add missing "quit". 1999-01-19 23:15:56 +00:00
abial
75a0ac1f34 Don't start (now) noneexistent snmpd. 1999-01-19 23:15:41 +00:00
abial
cbe8ae2bb7 Remove generated copy of the file. 1999-01-19 23:14:30 +00:00
abial
5b8b7372a5 Add NOPAM hook. 1999-01-19 23:12:50 +00:00
abial
0ccfcd1b9d Remove PROCFS - we don't use it. 1999-01-19 23:12:27 +00:00
abial
af7b86eaf4 Remove snmp for now - it has to either shrink, or we have to invent
something else...
1999-01-19 23:11:50 +00:00
abial
63c938b5c0 Add NOPAM hook to be able to use login(1) here... 1999-01-19 23:10:34 +00:00
abial
0755c9f86b Sync more with reality... 1999-01-19 23:09:46 +00:00
abial
1f5891c734 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