Here are a few tips for troubleshooting problems you may encounter when generating new target images, or modifying image
content.
Image generation
If you are having problems with image generation, try some of the following:
- Confirm that your workspace is correctly set up, and that your environment variables point to the correct
directories (see Prepare the work environment).
- Check that you are using the options you need for mksysimage (see mksysimage).
- Run mksysimage with the -i. This option makes all files optional, so the
build won't fail becasue of a missing file. If using the -i allows the build to complete,
identify the missing files and correct the problem (see Making a file optional).
For more information about build files, partitions and images, see the QNX SDP
documentation.
Adding or modifying content
Adding a file to a fileset doesn't guarantee that the file will be included in the final image. When you
add a file to a fileset, you must also make sure that:
- the fileset is included in a profile (see Profiles)
- the profile file is included in the system configuration file
(see Configuring Partitions and Images)
- the new file is located in a directory specified by the
searchpaths.cfg file
- there is no other file with the same name in a search path that will be scanned before the path
with your new file (see Search paths)
- the new file's user, group and permissions are correctly defined (see Users and groups)