[yocto] [yocto-doc][PATCH] ref-manual: fix copy-paste style error (`SRC_URI`)

Filip Jareš filipjares at gmail.com
Mon Mar 11 07:30:23 PDT 2019


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`.

Signed-off-by: Filip Jareš <filipjares at gmail.com>
---
 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 3ffa92c..b49fb25 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -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



More information about the yocto mailing list