Troubleshooting tips

You can use various mksysimage.py options to have this script complete only select parts of the image generation process.

Building an entire target image that includes everything from the IFS to the apps can be time-consuming. When you modify components or troubleshoot, you can use combinations of mksysimage.py options to build only parts of the image:

--no-mkimage
Prevents mksysimage.py from generating image files. The mksysimage.py script stops after it has generated the tar files. Use this option when you need to confirm that your changes will be correctly incorporated into the image after you have changed a component such as a fileset or a profile.
--no-mkimage --no-mktar
Prevents mksysimage.py from generating tar files or image files. The mksysimage.py script stops after it has generated the IFS files. Use this option when you need to confirm that your IFS changes will work.
--keep-partition-images
Prevents mksysimage.py from deleting intermediate partition images. Use this option when you need to keep the existing partition images. For example, if you are customizing the configurations used by mkimage.py and want to examine them before incorporating them into an image (.img) file.