csc/Hanlon-Microkernel — pull request #12 by tjmcs (2014-09-23 17:51:13+00:00)
Title: Tb/build nextgen mk

This pull request adds in the ability to specify local files containing lists of additional (locally accessible) kernel modules and extensions that should be added to the bundle build process. These options are completely optional, but when specified give the user the ability to bundle additional content into the Microkernel ISO that cannot be loaded from the standard TCL repository. The options added (and their definitions) are as follows:

**-a, --addtnl-kmods=FILE**

This argument is used to pass in a file containing a list of kernel modules, along with the locally accessible extension (either a TCE or a Debian Wheezy package, which are converted to a TCE during the bundle build process) containing each of those kernel modules and the target file (under the ``/lib/modules/`uname -r`/kernel/drivers`` directory) where those kernel objects should be placed during the Microkernel build process. Those three fields are assumed to be whitespace delimited, and an example line from such a file would be something like the following:
```
4.x-be2net/be2net.tcz be2net.ko net/benet/be2net.ko.gz
```
(Note, this line would include the locally accessible extension `4.x-be2net/be2net.tcz` into the bundle that is built, ensuring that the kernel module `be2net.ko` from that extension is extracted and placed into the ``/lib/modules/`uname -r`/kernel/driversnet/benet/be2net.ko.gz`` file during the Microkernel build process).

**-l, --local-extents=FILE**

This argument is used to pass in a file containing a list of locally available TCEs (or Debian Wheezy packages, which are converted into TCEs during the bundle build process) that should be included in the MK ISO being built (and installed during the Microkernel boot process). The format of this file is actually much simpler than the previous file; it simply contains a list of the extensions (either `*.tcz` or `*.deb` files), one per line.