MiniModReadme

From MorphixWiki

Jump to: navigation, search

HomePage -> MorphixDevel

[edit] Morphix MiniModule README

Things should be kept as loose as possible for module makers, but there are a few guidelines to help people out

Structure: a MiniModule is a compressed iso9660 filesystem, but without a header (at least for now). Use the supplied extract_filesystem tool to extract a Main or MiniModule, use the supplied compress_filesystem tool to compress it back. These can be found on the Morphix website, on the CD in tools.tar.gz and in the /morphix dir of a mainmodule

The example MiniModules do very little, they are only made to tweak a MainMod|. They generally consist of a /morphix directory for morphix-specific files, the example modules also copy all files in /etc to the main /etc, and link all files in /bin to /usr/local/bin

[edit] MiniModule-specific files

o loadmod.sh	- is executed on loading of the module
o mainmodule	- has the name of the main_ module,

needed for minimodule loading. When this begins with ALL, every MainModule will load it on booting

o minimodule	- has the name of the mini_ module and a description

not really needed now, might be useful later on.

Personal tools