Commit Graph

316 Commits

Author SHA1 Message Date
luigi
baaf2e75fd Move a bunch of initialization into a function which must be run
before parsing the command line.
Move code to build include and libraries in a separate function,
so we can use the verbose flag for that.
Chang ownership of some directories so more of the build process
(namely, builds of include and libs) can be run without root
permission (we still depend on root permission to mount a memory
filesystem).
2001-09-28 21:02:15 +00:00
luigi
0886aa51b6 Add entries for vmware interfaces. 2001-09-27 16:48:13 +00:00
luigi
244185f005 Enable the use of wildcards in the #ethertable section of
/etc/hosts to map MAC addresses to hostnames.

Main use is to get addresses for vmware interfaces.
2001-09-27 16:47:45 +00:00
joe
785a826aae On -current with devfs there is no MAKEDEV in /dev anymore, so use
it from ${SRC}/etc/MAKEDEV instead.

We may want to do this on -stable as well, but for now -stable still
uses /dev/MAKEDEV.
2001-09-20 13:34:16 +00:00
joe
a888294e85 Relocate the memory disk selection code to the same place the other
variables are set.
2001-09-20 13:09:01 +00:00
joe
f1ee6b1782 Remove options INTRO_USERCONFIG, MFS, USERCONFIG and VISUAL_USERCONFIG
from the PicoBSD kernel files as they're not relevant any more to
-current.
2001-09-20 11:30:39 +00:00
luigi
2602b5e748 Make the script aware of mdconfig, so it can hopefully run on -CURRENT
as well. This works by selecting "md" or "vn" depending on "uname -r"
output, so we can use the same script on -CURRENT and -STABLE.
Also included minor bugfixes and code cleanup.

Testers welcome, as this code has only been tested on -STABLE
(and for this reason I am doing an immediate MFC).
2001-09-20 02:52:02 +00:00
luigi
2c31cdbcd5 Remove "more" from the list, the port has not been committed yet.
Remove "mount_nfs" to reduce image size.
2001-09-05 16:06:40 +00:00
luigi
87f9cba872 Add lnc driver, so one can test picobsd images with vmware 2001-09-05 16:05:05 +00:00
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