ref-manual: fix copy-paste style error (`SRC_URI`)
PATCH 1/1 ref-manual: fix copy-paste style error (`SRC_URI`)
The update fixes a copy-paste-and-forget-to-update-everything error in the documentation of the SRC_URI entry in the Reference Manual. The maxdate paragraph just repeated what is there for the neighboring mindate paragraph which was incorrect.
What is documented (and patched) here is implemented in the should_apply function in meta/lib/oe/patch.py.
--- documentation/ref-manual/ref-variables.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/ref-variables.xml +1 -1
@@ -13798,7 +13798,7 @@ </para></listitem> <listitem><para><emphasis><filename>maxdate</filename> -</emphasis> Apply the patch only if <filename>SRCDATE</filename> - is not later than <filename>mindate</filename>. + is not later than <filename>maxdate</filename>. </para></listitem> <listitem><para><emphasis><filename>minrev</filename> -</emphasis> Apply the patch only if <filename>SRCREV</filename>
Signature · 1 line
2.7.4
Filip,
Thanks for the catch. I have fixed this in the upcoming 2.7 version of the YP reference guide. You can see the fix here -
https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-SRC_URI.
I will back-port to the relevant YP-maintained development branches (thud and sumo).
Scott
Quoted 37 lines · Filip Jareš
The update fixes a copy-paste-and-forget-to-update-everything error in the documentation of the
SRC_URIentry in the Reference Manual. Themaxdateparagraph just repeated what is there for the neighboringmindateparagraph which was incorrect.What is documented (and patched) here is implemented in the
should_applyfunction inmeta/lib/oe/patch.py.Signed-off-by Filip Jareš <[email protected]>--- documentation/ref-manual/ref-variables.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)documentation/ref-manual/ref-variables.xml +0
-0@@ -13798,7 +13798,7 @@ </para></listitem> <listitem><para><emphasis><filename>maxdate</filename> -</emphasis> Apply the patch only if<filename>SRCDATE</filename>
- is not later than
<filename>mindate</filename>.
+ is not later than
<filename>maxdate</filename>.</para></listitem><listitem><para><emphasis><filename>minrev</filename> -</emphasis>
Apply the patch only if
<filename>SRCREV</filename>
--
2.7.4