I am new to Yocto and run into an issue creating an ISO. It is/was unclear to me how to build an ISO. Reading through the dev and reference manual didn't help. The reference manual provided the hint that it is based on bootimg.bbclass. The default conf/local.conf uses three classes that are listed in the same section as the bootimg.bbclass in "USER_CLASSES". Therefore I assumed that I have to append bootimg to the USER_CLASSES. My logic here got reassured because the default conf/local.conf documents the USER_CLASSES as "Additional image features". Adding bootimg to the USER_CLASSES results in an error about a NameError. And it seems like this is the wrong place for it after someone helped me with it. It is still not clear to me when/how to use the classes, I described the way how I understood them. My assumptation is that you have to load classes before you can use them and not to define variables which then autoloads the class. On IRC I got help about it and was asked to open a ticket to improve the documentation.
Thanks for opening the bug on this. I am changing the status to ACCEPTED and will work on getting the right documentation solution in place for this. I am also adding Paul and Richard to the CC list as a resource for me. Scott
Scott, to enable building of ISO images, we just add the following to local.conf: NOISO="0"
Hi, See the description for the NOISO variable. I have added a sentence at the end saying how to enable building an ISO. http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-NOISO. If this is okay then I will close it out. Scott
Scott, this is a clear description of the variable. The problem is that someone wondering how to build an ISO image, wouldn't know to look for the NOISO variable, nor where to put it. This should probably be discussed in the developer manual along with creating image types (IMAGE_FSTYPES), or similar.
Hi, I have updated the image-live.bbclass description a bit to include an example case for creating an ISO image. I felt that I did not want to add a complete new section on creating an ISO file. So, I looked around for areas that would talk about creating an ISO image and we really did not have any. I feel with the added information to the image-live.bbclass section and the specifics in the NOISO variable description, the user could now successfully search for and find some information on ISO file creation. Please look this addition over at http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#ref-classes-image-live Thanks, Scott
Setting the documentation flag to "Done." on this one. Scott
Marking RESOLVED... I forgot to do that when I reset the documentation flag.