Commit Graph

274 Commits

Author SHA1 Message Date
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