1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00
freebsd/release/picobsd/build
Luigi Rizzo 4cd80eaaaf A somewhat large change of this script.
From the user's perspective:
 * everything is now built outside the source tree (more precisely,
   in `pwd`/builddir-${name}/ ) except for the kernel config file(s)
   which still need to be copied into src/sys/i386/conf because of
   "config" limitations. I am not sure if there is an easy way
   to get away from this without changing "config" or replicating
   some part of the source tree.
   This is really the only change that most users should worry about,
   but it is a good one.

 * if you do cross-compiles (using "picobsd --src somedir/src [--init] ... ")
   then the libraries and include directories etc.  are searched/created
   in "somedir/usr" ;

 * you can do most things (basically build the kernel and the crunched
   binary and the filesystem trees) without root privileges. You need
   privileges to use mdconfig/vnconfig to create the actual MFS and
   floppy image, unfortunately.

 * the -v option now prints some diagnostic but does not stop for
   user input at each step. You need to specify -v -v to have the
   old behaviour.

Internally, the script has been reshuffled quite a bit to support
the above features. Many shell variables have been renamed or
made local in an effort to avoid undesired side effects. There is
a somewhat better error handling in case something goes wrong.
2001-10-02 17:06:51 +00:00
..
config Bring the new script into -current. Still untested here, but there 2001-02-20 17:09:40 +00:00
Makefile.conf Compile the kernel under ${BUILDDIR} instead of polluting the source 2001-10-02 16:53:50 +00:00
mfs.mtree Fixup the /tmp directory permissions to 01777. 2000-11-07 20:40:21 +00:00
picobsd A somewhat large change of this script. 2001-10-02 17:06:51 +00:00
write_mfs_in_kernel.c Correct slight stuff-up in previous patch. 1999-12-16 02:14:30 +00:00