[PATCH] dev-manual: layer priority takes precedence over PV


Robert P. J. Day
 

Clarify that if there are multiple recipes with the same name, the
recipe with the highest PV from the highest priority layer will be the
one selected.

Signed-off-by: Robert P. J. Day <rpjday@...>

---

i'm using docbook's <emphasis> markup here, which renders in HTML as
both bold and italic.

diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 1e6addde4..951263291 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -825,9 +825,11 @@
</para>

<note>
- <para>It is possible for a recipe with a lower version number
+ <para>If the same recipe exists in several layers, the recipe
+ with the highest value of
<ulink url='&YOCTO_DOCS_REF_URL;#var-PV'><filename>PV</filename></ulink>
- in a layer that has a higher priority to take precedence.</para>
+ <emphasis>from the layer with the
+ highest priority</emphasis> will be selected.</para>
<para>Also, the layer priority does not currently affect the
precedence order of <filename>.conf</filename>
or <filename>.bbclass</filename> files.

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================

Join yocto@lists.yoctoproject.org to automatically receive all group messages.