1 In this file i try to document the overall architecture of PicoBSD
4 ./ Per-image directory-tree and generic trees.
6 build/ Main build scripts and Makefiles.
7 build: main build script
8 stage1: invoked by build
9 clean: to clean up previous compilations
11 makefile to edit config file and build kernel
13 makefile to create the memory filesystem
15 makefile to handle the crunched directory
17 mtree cmd -- structure of the mfs tree
20 Default files to fill the floppy and mfs trees.
21 Can be overridden by listing files to be removed in
22 ${TYPE}/floppy.tree.exclude, and putting files to be replaced
23 in ${TYPE}/floppy.tree/
26 documentation (unchanged from original)
29 help files in various languages. The suffix is the two letter
30 country code for the language. Currently only .en and .pl
34 various small programs used instead of the corresponding
37 $TYPE/ source and config files for the various image types.
39 Structure of each image type is as follows:
42 Makefile used to build/populate the MFS. Only needs two
46 .include "../build/Makefile.mfs"
49 kernel config file. One line is required
51 #PicoBSD mfs_size init_name mfs_inodes floppy_inodes
53 #PicoBSD 2400 init 4096 32768
56 Directory with crunched config etc. Main files:
57 crunch.conf main config file for crunchgen
58 crunch.inc (optional) file included in crunchgen
59 Makefiles, used e.g. to set make variables
60 such as RELEASE_CRUNCH or similar.
63 local files to be put into the floppy/mfs trees instead
64 of the ones in ../build/floppy.tree
67 list of files to be omitted in the copy from ../build/floppy.tree
70 site-specific files which update the ones taken from one
71 of the two places above. Typically they are passwd, hosts,
72 rc.conf, rc.firewall things to go in /etc
75 language-dependant files (trimmed from the original one)