mksys

Support for mksys is incomplete.

Make System: run mksys to generate a system bundle to install and run on a target.

System bundles are compressed archives containing a collection of apps and access control configuration settings that allow them to interact with each other, as defined within an .sdef file.

The main input for mksys is an System Definition .sdef file that contains these definitions:

  • apps to deploy to the target device
  • permitted inter-app communication
  • limits, environment variables, and configuration settings to add or override.

mksys will parse the .sdef file, find the .adef files for the apps, build the apps, generate on-target access control configuration settings, and bundle everything into a system bundle for installation on the target device.

Note
mksys can also help to validate target bindings. mkapp only knows about the app it's building. Things like typos in binding values won't be detected, but will show up with your app hanging. After running mksys, if your app hangs, run sdir list (sdir) to determine if it's failing because it's unbound, or the server isn't running: sdir list shows services that are running.

To display usage, run

mksys --help

System Definition .sdef files for more info.