Bug 9963 - Warning against ${PN}-dev-related gotcha in the RDEPENDS glossary entry
Summary: Warning against ${PN}-dev-related gotcha in the RDEPENDS glossary entry
Status: RESOLVED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: 2.2 M3
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 18 July 2016: RESOLVED
Depends on:
Blocks:
 
Reported: 2016-07-17 09:27 UTC by ulfalizer
Modified: 2016-07-18 20:30 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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