Commit Graph

253 Commits

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