Bug 8237

Summary: On distrodata.bbclass section, user should not include the indicated files
Product: [Documentation] Reference Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: minor    
Priority: Medium+ CC: bogdanx.a.voiculescu, poky.doc.watcher, poky.watcher, srifenbark
Version: 1.8   
Target Milestone: 2.0   
Hardware: All   
OS: Multiple   
Whiteboard: 19 Sept 2015 - RESOLVED/FIXED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Leonardo Sandoval Gonzalez 2015-09-01 16:32:41 UTC
Section 7.34. distrodata.bbclass from the yocto reference manual indicates to include some files when using the mentioned class.  Since commit 6a024c2e434da4dace8cd20fcd33df4431e3e665, this is not necessary because these files are already included on distrodata.bbclass.


The manual I found this problem is:

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html
Comment 1 Scott Rifenbark 2015-09-17 18:26:01 UTC
Just to be sure...

Here is the snippet from manual:

     include conf/distro/include/distro_alias.inc
     include conf/distro/include/recipe_color.inc
     include conf/distro/include/maintainers.inc
     include conf/distro/include/upstream_tracking.inc
     include conf/distro/include/package_regex.inc
     INHERIT+= "distrodata"

I still need to mention the INHERIT statement correct?  I am just dumping the include statements?

Thanks,
Scott
Comment 2 Leonardo Sandoval Gonzalez 2015-09-17 18:51:51 UTC
(In reply to comment #1)
> Just to be sure...
> 
> Here is the snippet from manual:
> 
>      include conf/distro/include/distro_alias.inc
>      include conf/distro/include/recipe_color.inc
>      include conf/distro/include/maintainers.inc
>      include conf/distro/include/upstream_tracking.inc
>      include conf/distro/include/package_regex.inc
>      INHERIT+= "distrodata"
> 
> I still need to mention the INHERIT statement correct?  I am just dumping
> the include statements?

Exactly. The INHERIT statement needs to be there, so user can add this feature.

> 
> Thanks,
> Scott
Comment 3 Scott Rifenbark 2015-09-18 14:33:13 UTC
Hi, 

See http://www.yoctoproject.org/docs/1.9/ref-manual/ref-manual.html#ref-classes-distrodata for the changes in the section.  Let me know if there are any issues.

Thanks, 
Scott
Comment 4 Leonardo Sandoval Gonzalez 2015-09-18 16:57:06 UTC
(In reply to comment #3)
> Hi, 
> 
> See
> http://www.yoctoproject.org/docs/1.9/ref-manual/ref-manual.html#ref-classes-
> distrodata for the changes in the section.  Let me know if there are any
> issues.

Looks good to me.

> 
> Thanks, 
> Scott
Comment 5 Scott Rifenbark 2015-09-18 17:16:36 UTC
Changing bug to RESOLVED/FIXED and resetting the doc flag to "Done."

Thanks