Bug 9963

Summary: Warning against ${PN}-dev-related gotcha in the RDEPENDS glossary entry
Product: [Documentation] Reference Reporter: ulfalizer
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Undecided CC: poky.doc.watcher, poky.watcher, srifenbark
Version: unspecified   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: 18 July 2016: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description ulfalizer 2016-07-17 09:27:38 UTC
Hello,

I suggest adding the following Note/Caution to the RDEPENDS glossary entry, right after "thus, the RDEPENDS variable has the ${PN}-dev package name as part of the variable." I've seen a few people run into this.


Note/Caution

RDEPENDS_${PN}-dev includes ${PN} by default (this default is set in
meta/conf/bitbake.conf). Be careful not to accidentally remove ${PN} when
modifying RDEPENDS_${PN}-dev. Use e.g. += instead of = to be safe.
Comment 1 Scott Rifenbark 2016-07-18 17:32:58 UTC
Ulf, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-RDEPENDS for the new note.  I did a bit of re-writing.  Check it out.

Thanks, 
Scott
Comment 2 ulfalizer 2016-07-18 17:42:32 UTC
Looks good to me!

Thanks,
Ulf
Comment 3 Scott Rifenbark 2016-07-18 20:30:04 UTC
thanks - resetting to RESOLVED and putting the doc flag to "Done."

Scott