Bug 13115

Summary: Clarify IMAGE_FSTYPES note
Product: [Documentation] Reference Reporter: Richard Weinberger <richard>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.doc.watcher, poky.watcher, richard.purdie, srifenbark
Version: 2.7   
Target Milestone: 2.7 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: 03 January 2019: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Richard Weinberger 2019-01-03 11:54:33 UTC
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-IMAGE_FSTYPES says:
If you add "live" to IMAGE_FSTYPES inside an image recipe, be sure that you do so prior to the "inherit image" line of the recipe or the live image will not build.

This is actually not only true for "live". It is needed for "iso", "hddimg" too.
Likely for many more.

Please clarify this note. :-)
Comment 1 Richard Purdie 2019-01-03 16:00:24 UTC
We should perhaps just state that it should be set before the inherit unconditionally rather than track the list of types it applies to?
Comment 2 Scott Rifenbark 2019-01-03 23:01:14 UTC
Hi, 

Please look at the updates here - https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-IMAGE_FSTYPES.

Let me know if this change to the note's wording is okay.

Thanks, 
Scott
Comment 3 Richard Weinberger 2019-01-03 23:05:41 UTC
(In reply to comment #2)
> Hi, 
> 
> Please look at the updates here -
> https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-
> IMAGE_FSTYPES.
> 
> Let me know if this change to the note's wording is okay.
> 
> Thanks, 
> Scott

Looks good to me!
Thanks!
Comment 4 Scott Rifenbark 2019-01-03 23:44:03 UTC
thanks!  I am setting to RESOLVED and putting the doc flag to "done."

Scott