Install or uninstall a patch (QNX Neutrino)
sudo -E $QNX_HOST/usr/bin/applypatch patchfile
Install a patch:
applypatch [-b] [-c] [-d path] [-F] [-H] [-v] patch_file
List the installed patches:
Uninstall a patch:
applypatch -U num
- Don't make a backup.
If you specify the -b option, you won't be able to uninstall this patch or any patches applied after it. We don't recommend this option for general use.
- Extract the patch contents only. No metadata will be recorded, nor will any backup file be generated. This is useful when pulling out individual files for testing, but we don't recommend this option for general use.
- -d path
- Specify the destination path. This path will be the root directory used for extracting the patch contents as well as for storing the patch metadata. The default is the currently active QNX SDP installation.
- Turn off prompting by forcing a yes answer to all queries. Normally newer files aren't overwritten by older files from the patch. This option disables that check. This means locally updated files may be silently replaced by an older version from the patch.
- Install all host-side files in the patch. By default, applypatch installs only those for the current host OS.
- List the patches, ordered from newest to oldest (based on installation time).
- Be verbose. Display some information on progress and activities.
- -U num
- Uninstall the patch with the specified ID number, num.
Due to the nature of the patching process, any patch that was installed after patch ID num will be uninstalled as well. In effect, you'll roll back to the state the system was in just before patch ID num and all subsequent patches were applied.
The applypatch utility installs and uninstalls QNX patches, and also lists the installed patches. It's installed in $QNX_HOST/usr/bin and supports our current patch tar files.
This utility first backs up any files which will be overwritten and then extracts the patch files.
If you've applied a sequence of patches, you can uninstall them only in reverse order. If you select a patch (Patch ID X) for uninstallation, then any patches installed since Patch ID X are also marked for uninstallation. A warning and list of affected patches is printed and confirmation requested for this situation.