[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6326/8267] ref-manual: Added warning to native.bbclass for naming convention



commit dce79d0efc1df9f1db32604dc0d9dd3514769e58
Author: Scott Rifenbark <srifenbark gmail com>
Date:   Mon Jun 5 15:43:28 2017 -0700

    ref-manual: Added warning to native.bbclass for naming convention
    
    Fixes [YOCTO #11411]
    
    Added a naming convention warning to the native.bbclass description
    that is similar to the existing warning used in the description for
    the nativesdk.bbclass.
    
    (From yocto-docs rev: 2ceeb5416d439197e94640229e3685ab8b87e0fb)
    
    Signed-off-by: Scott Rifenbark <srifenbark gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 documentation/ref-manual/ref-classes.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 16af6f9..2b5cb88 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -2228,6 +2228,14 @@ This check was removed for YP 2.3 release
                 functionality specific to the respective native or target
                 case.</para></listitem>
         </itemizedlist>
+        <note><title>Warning</title>
+            When creating a recipe, you must follow this naming convention:
+            <literallayout class='monospaced'>
+     native-<replaceable>myrecipe</replaceable>.bb
+            </literallayout>
+            Not doing so can lead to subtle problems because code exists
+            that depends on the naming convention.
+        </note>
     </para>
 
     <para>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]