1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/release/picobsd
Greg Lehey 301cc81ed3 Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand.  Previously /sbin and /bin were symlinks to
/stand.  Now /bin and /stand are symlinks to /sbin.
1999-12-20 02:16:55 +00:00
..
build Handle building individual targets better. It's still broken; the 1999-12-20 02:07:42 +00:00
custom Install the crunched binaries into /sbin, not /stand. This was 1999-12-20 02:16:55 +00:00
dial
doc/src
floppy.tree
forth
help
install
isp
net
router
tinyware
tools
Makefile
README.html
README.luigi
Version

In this file i try to document the overall architecture of PicoBSD
source tree.

    build/
	directory containing main build scripts and makefiles.
	build:	main build script
	stage1:	invoked by build
	clean:	to clean up previous compilations
	Makefile.conf
		makefile to edit config file and build kernel

    floppy.tree/
	default files to fill the floppy and mfs trees.
	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)

    forth/
	load files for the boot loader (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.

    tools/
	couple of tools used during the build process.

    dial, isp, net, router, custom ...
	directories containing the source and config files for the
	various image types.


Structure of each image type is as follows:

    Makefile.mfs
	makefile used to build/populate the MFS

    PICOBSD
	kernel config file

    crunch1/
	directory with crunched config etc (unchanged from original)

    floppy.tree/
	local files to be put into the floppy/mfs trees.

    floppy.tree.exclude
	list of files in the default floppy.tree/ not to be copied
	for this configuration (used by tar --exclude-from
	floppy.tree.exclude)

    lang/
	language-dependant files (trimmed from the original one)

    mfs.mtree
	mtree structure used to populate the mfs image
	MFS image, or on the floppy image in various phases.1G

----

Below a partly incomplete list of files used by the various
picobsd types.

Files for various systems

=  base file
x  missing
X  missing, not needed with oinit
D  different
d  minor difference, merge candidate
L  copied from LANG directory
G  generated in stage3

DIAL ISP  NET  ROUT  MY1  MY2  	File in floppy.tree
------------------------------------------------------
 =    =    =    =               boot.config
 x    =    =    =               disktab
 x    =    x    x               etc/firewall
 =    =    =    =               etc/fstab
 =    =    =    =               etc/gettytab
 =    =    =    =               etc/group
 =    =    =    =               etc/host.conf
 L    L    L    L             L etc/hosts
 x    =    =    x               etc/inetd.conf
 =    =    =    =               etc/login.conf
 d    =    =    x               etc/master.passwd
 d    =    =    D               etc/mfs.rc
 L    L    L    L             L etc/motd
 D    =    =    =               etc/ppp/ppp.conf
 =    x    x    x               etc/ppp/ppp.conf.template
 =    =    =    =               etc/ppp/ppp.deny
 d    =    =    =               etc/ppp/ppp.linkup
 =    =    =    =               etc/ppp/ppp.secret.sample
 =    =    =    =               etc/profile
 =    =    =    =               etc/protocols
 D    =    d    D               etc/rc
 D    =    =    X               etc/rc.conf
 x    =    =    D               etc/rc.firewall
 =    =    =    D               etc/rc.network
 x    =    =    D               etc/rc.serial
 x    =    =    =               etc/remote
 L    =    =    X             L etc/resolv.conf
 =    =    =    =               etc/services
 x    =    =    =               etc/shells
 x    =    =    x               etc/snmpd.conf
 =    x    x    x             G etc/spwd.db
 =    x    x    x               etc/ssh_config
 =    =    =    =               etc/termcap
 D    =    =    =               etc/ttys
 =    =    =    =               kernel.config
 =    =    =    =             G kernel.gz

DIAL ISP  NET  ROUT  MY1  MY2  	File in lang
                                README.en
				README.pl
				boot.help.en
				boot.help.pl
				hosts.en
				hosts.pl
				mfs.rc.en	to floppy.tree
				mfs.rc.pl
				motd.en
				motd.pl
				rc.conf.en	to floppy.tree
				rc.conf.pl	via
				rc.en		to floppy.tree
				rc.network.en	to floppy.tree
				rc.network.pl	via
				rc.pl		via
				reboot.en
				reboot.pl
				resolv.conf.en	to floppy.tree
				resolv.conf.pl	via
				update.en
				update.pl


DIAL ISP  NET  ROUT  MY1  MY2  	File in mfs.tree

 D    =    d    d               Makefile
 =    x    x    x               login.conf
 D    =    D    D               mfs.tree