Generate an image from existing .tar files. The (wrapped by (Linux) or mksysimage.bat (Windows)) calls this command. You shouldn't call this command on its own.

Syntax:  [-o] outputpath ... [options]

Runs on:

Windows, Linux. Must be run using Python 2.7.5.


-b bootloader, --bootloader=bootloader
Add the specified bootloader file to the master boot record (MBR).
-c configfile, --config=configfile
Use the specified configuration file. See "Configuration file for" in the Getting Started guide.
-h, --help
Show the help that describes how to use this command.
Don't modify the bootable QNX6 filesystem.
-o output, --output=output
Write to the specified image file.
-t tarfilepath, --tar_path=tarfilepath
Specify the path to the .tar files.
--tars tarfile1 [tarfile2 ...]
Specify a list of .tar files.
-v, --verbose
Specify the verbosity, up to a maximum of 4 levels.


The script creates an image from the .tar files, which are generated by Don't use the script on its own. Instead, you should run the script, which calls the script.

The process used by to create an image is as follows:

  1. Extract the contents of the input .tar files to a temporary location and from these contents, generate the buildfiles (.build), which list the files in the partitions.
  2. Call mkxfs to use the buildfiles to generate the partition image (.image) files.
  3. Call diskimage to combine the .image files into the disk image.

Exit status:

An image file was generated successfully.
An error occurred.