Bug 10069 - Suggested addition to explain how runtime virtual dependencies work
Summary: Suggested addition to explain how runtime virtual dependencies work
Status: RESOLVED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.2 M4
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 03 August 2016: RESOLVED
Depends on:
Blocks:
 
Reported: 2016-08-02 21:36 UTC by ulfalizer
Modified: 2016-08-04 00:03 UTC (History)
4 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-08-02 21:36:52 UTC
The meaning of VIRTUAL-RUNTIME_foo confused me a lot at first. I suggest adding the following note to the end of the PROVIDES glossary entry to explain what it means:

  Note {

  There is a corresponding mechanism for virtual runtime dependencies (packages),
  but it does not depend on any special functionality beyond ordinary variable
  assignments. For example, VIRTUAL-RUNTIME_dev_manager refers to the package of
  the component that manages the /dev directory.
  
  Setting the "preferred provider" for runtime dependencies is as simple as e.g.
  the following assignment in a configuration file:
  
    VIRTUAL-RUNTIME_dev_manager = "udev"

  }

Cheers,
Ulf
Comment 1 Scott Rifenbark 2016-08-03 16:55:54 UTC
Ulf, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PROVIDES for the updated description.

Scott
Comment 2 ulfalizer 2016-08-03 18:44:46 UTC
Looks good to me.

Thanks,
Ulf
Comment 3 Scott Rifenbark 2016-08-04 00:03:32 UTC
Thanks, 

Setting to RESOLVED and putting the doc flag to "done."

Scott