Install or uninstall a patch (QNX Neutrino)
Since this utility modifies the installation tree, you must run it as a
It also requires the environment be properly set.
On Linux, if you use sudo (as would be the case on Ubuntu),
you must also specify the -E option to preserve the environment.
In this case, however, the PATH environment variable is set
to a safe one for security reasons, so you need to specify the full path to
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
QNX Neutrino, Linux, Microsoft Windows
|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.|
|The version of applypatch in 6.4.1 installs host-side files for all host OSs.|
|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.
|On Windows, run applypatch in cmd.exe.|
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.