Adding symbolic links

You can instruct mktar.py to create symbolic links when it generates an image from a fileset.

Note: Unless otherwise specified, these instructions assume a Linux host. If you are working on a Windows host, run the commands in the bash shell.

To add a symbolic link:

  1. Locate the filesets in this directory:

    $QNX_DEPLOYMENT_WORKSPACE/infra/filesets

  2. In an editor, open one of the filesets that you wish to modify (e.g., base.common.multimedia.xml).

  3. Add a symlink element. The following example shows three symlink elements:

    <symlink name="usr/qt5-5.3/lib/libQt5QnxAfExtras.so.5.3"
        target="libQt5QnxAfExtras.so.5.3.2" uid="root" gid="nto" mode="0755"/>
    <symlink name="usr/qt5-5.3/lib/libQt5QnxAfExtras.so.5"
        target="libQt5QnxAfExtras.so.5.3.2" uid="root" gid="nto" mode="0755"/>
    <symlink name="usr/qt5-5.3/lib/libQt5QnxAfExtras.so"
        target="libQt5QnxAfExtras.so.5.3.2" uid="root" gid="nto" mode="0755"/>
  4. Save the file.

When mktar.py generates an image, it will create the symbolic link.