Creating the archives

You can create archive files from the file lists in the rtkit directory in the root directory of the Installation and Boot CD (x86 Targets). In general, you create an archive as follows:

  1. Go to the $QNX_TARGET directory.
  2. Run the following:

    $QNX_HOST/usr/bin/tar -T filelist -c -z -f output_archive_name.tgz

    where filelist is the name of a file that lists the files you want to include in the runtime kit. This command might take a while, depending on the number of files that you're including in the archive.

Alternatively, if you know what the system requires, you can create a directory tree by copying files and using tar on the result. This way, the installation script needs to unpack only one archive. For example:

  1. mkdir output
  2. cd output
  3. cp -pc $QNX_TARGET/x86/usr/bin/ls usr/bin/ls
  4. Repeat step 3 for each file you need to include.
  5. tar -z -c --owner=0 --group=0 -f ../output.tgz .

    You need the --owner=0 --group=0 options to make sure that all the files belong to root in the archive.