Generate the /etc/os.version file based on build environments.
gen-osversion [options] ... <platform>.<variant>
QNX Neutrino
You can use the gen-osversion utility on its own or as part of the mksysimage.py utility script to generate the os.version file based on build environments.
To run gen-osversion, you need to specify the platform and its variant.
The following example uses the omap5uevm platform and creates an os.version file. The information in the resulting file is used by the image-generation script mksysimage.py.
%QNX_CAR_DEPLOYMENT%/deployment/scripts/gen-osversion omap5uevm.external
The resulting output might look something like this:
date: Thu Aug 30 13:23:48 2013 project: Local Build buildHost: ubuntu buildID: Local Build buildNum: Local Build platform: omap5uevm.external MyBranch: trunk MyRev: 6998 externalBranch: main externalRev: 2732
None.