Commit Graph

251 Commits

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