1999-08-22 21:45:24 +00:00
|
|
|
In this file i try to document the overall architecture of PicoBSD
|
|
|
|
source tree.
|
|
|
|
|
2000-02-08 08:13:47 +00:00
|
|
|
./ Per-image directory-tree and generic trees.
|
|
|
|
|
|
|
|
build/ Main build scripts and Makefiles.
|
1999-08-22 21:45:24 +00:00
|
|
|
build: main build script
|
|
|
|
stage1: invoked by build
|
|
|
|
clean: to clean up previous compilations
|
|
|
|
Makefile.conf
|
|
|
|
makefile to edit config file and build kernel
|
2000-02-08 08:13:47 +00:00
|
|
|
Makefile.mfs
|
|
|
|
makefile to create the memory filesystem
|
|
|
|
Makefile.crunch
|
|
|
|
makefile to handle the crunched directory
|
|
|
|
mfs.mtree
|
|
|
|
mtree cmd -- structure of the mfs tree
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
floppy.tree/
|
2000-02-08 08:13:47 +00:00
|
|
|
Default files to fill the floppy and mfs trees.
|
1999-08-22 21:45:24 +00:00
|
|
|
Can be overridden by listing files to be removed in
|
|
|
|
${TYPE}/floppy.tree.exclude, and putting files to be replaced
|
|
|
|
in ${TYPE}/floppy.tree/
|
|
|
|
|
|
|
|
doc/
|
|
|
|
documentation (unchanged from original)
|
|
|
|
|
|
|
|
help/
|
|
|
|
help files in various languages. The suffix is the two letter
|
|
|
|
country code for the language. Currently only .en and .pl
|
|
|
|
used.
|
|
|
|
|
|
|
|
tinyware/
|
|
|
|
various small programs used instead of the corresponding
|
|
|
|
full-blown utilities.
|
|
|
|
|
2000-02-08 08:13:47 +00:00
|
|
|
$TYPE/ source and config files for the various image types.
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
Structure of each image type is as follows:
|
|
|
|
|
|
|
|
Makefile.mfs
|
2000-02-08 08:13:47 +00:00
|
|
|
Makefile used to build/populate the MFS. Only needs two
|
|
|
|
lines typically:
|
|
|
|
|
|
|
|
MY_DEVS=std ....
|
|
|
|
.include "../build/Makefile.mfs"
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
PICOBSD
|
2000-02-08 08:13:47 +00:00
|
|
|
kernel config file. One line is required
|
|
|
|
|
|
|
|
#PicoBSD mfs_size init_name mfs_inodes floppy_inodes
|
|
|
|
e.g.
|
|
|
|
#PicoBSD 2400 init 4096 32768
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
crunch1/
|
2000-02-08 08:13:47 +00:00
|
|
|
Directory with crunched config etc. Main files:
|
|
|
|
crunch.conf main config file for crunchgen
|
|
|
|
crunch.inc (optional) file included in crunchgen
|
|
|
|
Makefiles, used e.g. to set make variables
|
|
|
|
such as RELEASE_CRUNCH or similar.
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
floppy.tree/
|
2000-02-08 08:13:47 +00:00
|
|
|
local files to be put into the floppy/mfs trees instead
|
|
|
|
of the ones in ../build/floppy.tree
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
floppy.tree.exclude
|
2000-02-08 08:13:47 +00:00
|
|
|
list of files to be omitted in the copy from ../build/floppy.tree
|
|
|
|
|
|
|
|
floppy.tree.${SITE}/
|
|
|
|
site-specific files which update the ones taken from one
|
|
|
|
of the two places above. Typically they are passwd, hosts,
|
|
|
|
rc.conf, rc.firewall things to go in /etc
|
1999-08-22 21:45:24 +00:00
|
|
|
|
|
|
|
lang/
|
|
|
|
language-dependant files (trimmed from the original one)
|
|
|
|
|
|
|
|
|