apk

The apk folder contains the portion of the build that integrates software packages from oss.qnx.com. This folder is a port of Alpine Linux's package (apk) manager to QNX, which allows QNX and open source software to be prepackaged as binaries.

Installing apk packages

The following files contain the common apk packages for the architectures that QNX supports for the CTI:

  • world.preinstall_aarch64
  • world.preinstall_x86_64

These files include lists of high-level apk packages representing the content to be installed in the image, but does not explicitly include all of the dependencies pulled in by the high-level packages.

The target-specific apk packages lists are located in the targets/<TARGET> folder of the project, and are named based on the architecture of the target. For example, the Raspberry Pi 5 is an aarch64 platform, so its target-specific packages list is named world.preinstall_aarch64.

Artifacts are pre-installed in the apk/stage/apk_root folder, and snippets are generated for the content in apk/stage/snippets so that they are integrated into the image. The consolidated world.preinstall file is also integrated in the image with the package versioning stripped out and is installed at /etc/apk/world. This allows you to have the freedom to update the packages installed after your build is generated.

apk repositories

Currently, there are a limited number of apk repositories available that contain packages to install in the image, so this information is baked into the Makefile.

Page updated: