Updated: May 29, 2023 |
The QNX Software Center lets you export and import patch sets.
A patch set is like a recipe for installing packages. It tells the QNX Software Center not only which packages to install, but also which version of each package to install.
Patch sets enable all members of a team to standardize on the same software base. They also make it easier to reproduce issues across systems.
You can export a patch set from one installation and import it into a different installation, either on the same development host or on a different host. When importing a patch set, you can choose whether the patch set creates a new installation or modifies an existing one.
A patch set doesn't contain a payload of files; it contains only a list of required packages and their versions. So, to import a patch set, you must have access to the packages that the patch set specifies, either from the myQNX server (if you use the QNX Software Center online) or through packages you have imported from your local filesystem.
You must also be entitled to use the packages specified in the patch set, or the QNX Software Center won't complete the installation. If this issue occurs, contact your license administrator to determine if they can deploy the appropriate licenses.
To create and export a patch set:
From the Welcome screen, select Manage Installation, click the installation selector, and then select the installation that will form the basis of your patch set.
For example, if you select the installation named qnx700, the selector will look like this:
Select Edit Patch Set dialog.
. You'll see theField | Description |
---|---|
Author Id |
The reverse DNS address of your organization. For example: com.mycompany |
Author Name | Typically, the name of your organization. |
Package Id |
An alphanumeric ID, prefixed by the Author ID. For example: com.mycompany.projectA.patchset |
Package Name | A meaningful description of the patch set. Can contain spaces. |
Package Version |
The version of the patch set. This field must contain four segments, separated by periods. The first three segments are numeric; the last segment is a string and typically specifies a date. CAUTION: The QNX Software Center
uses the first three segments for numeric comparison.
For instance, it sees 1.0.2 as greater than 1.0.100.
However, it uses the last segment for
alphanumeric comparison. Thus, it sees
1.0.0.2 as later than 1.0.0.10 because 2 as a string is
greater than 10.
|
Look at the Properties field to see whether the patch set specifies experimental packages.
A stable status indicates that no experimental packages are specified, while an experimental status indicates that one or more experimental packages are specified.
Click the Save as field and choose one of the following options:
Note that, when you export a patch set, you export all items in the installation.
To add an installation:
Choose a license key for the product being installed, then click Next.
Review the list of packages that the QNX Software Center will install, then click Finish to start the installation process. The process may take a few minutes to complete.
Too little disk space?
If the Review Packages dialog warns that you have too little disk space, don't click Finish. Instead, click Back, free up some disk space, and then click Next to return to the Review Packages dialog. If necessary, repeat this procedure until the dialog no longer issues the warning.Upon completion, the new installation becomes your current installation and appears in the Installed tab.
To modify an existing installation:
Upon completion of the import, the packages specified in the patch set appear in the Installed tab.
Patch sets help ensure that developers use specific versions of packages. Thus, when you import a patch set, the QNX Software Center gives you the option of locking all of the packages that the patch set specifies. This locking prevents the packages from being updated. (The locking applies only to packages specified by the patch set. You can still add new packages to an installation based on, or modified by, a patch set.)
or
If a patch set isn't locked, you can simply use the standard procedure for updating its packages. See Install updates for details.
As with any other installation, an installation based on, or modified by, a patch set will appear in the QNX Momentics IDE as an SDK. To select the SDK, launch the IDE and click . (You may need to restart the IDE to see the SDK.)