Skip to contentSkip to conversation

ref-manual: add content for new features_check.bbclass

RFC PATCH New Robert P. J. Day 1 participant 1 message May 16, 2020

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 ref-manual: add content for new features_check.bbclass

first pass at adding everything related to features_check.bbclass;
lots of changes so good chance i missed something. if no objections, will submit for real.

related bugzilla entry:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=13884

rday

---

documentation/ref-manual/migration.xml +20 -1
index affc8b90a..66133f6ef 100644
@@ -7188,7 +7188,26 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
         <title>features_check class replaces distro_features_check</title>
 
         <para>
-            The <filename>distro_features_check</filename> class has had its functionality expanded, now supporting <filename>ANY_OF_MACHINE_FEATURES</filename>, <filename>REQUIRED_MACHINE_FEATURES</filename>, <filename>CONFLICT_MACHINE_FEATURES</filename>, <filename>ANY_OF_COMBINED_FEATURES</filename>, <filename>REQUIRED_COMBINED_FEATURES</filename>, <filename>CONFLICT_COMBINED_FEATURES</filename>. As a result the class has now been renamed to <filename>features_check</filename>; the <filename>distro_features_check</filename> class still exists but generates a warning and redirects to the new class. In preparation for a future removal of the old class it is recommended that you update recipes currently inheriting <filename>distro_features_check</filename> to inherit <filename>features_check</filename> instead.
+            The <filename>distro_features_check</filename> class has had its functionality expanded,
+            now supporting the checks:
+            <itemizedlist>
+                <listitem><para><link linkend='var-REQUIRED_MACHINE_FEATURES'><filename>REQUIRED_MACHINE_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-ANY_OF_MACHINE_FEATURES'><filename>ANY_OF_MACHINE_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-CONFLICT_MACHINE_FEATURES'><filename>CONFLICT_MACHINE_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-REQUIRED_DISTRO_FEATURES'><filename>REQUIRED_DISTRO_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-ANY_OF_DISTRO_FEATURES'><filename>ANY_OF_DISTRO_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-CONFLICT_DISTRO_FEATURES'><filename>CONFLICT_DISTRO_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-REQUIRED_COMBINED_FEATURES'><filename>REQUIRED_COMBINED_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-ANY_OF_COMBINED_FEATURES'><filename>ANY_OF_COMBINED_FEATURES</filename></link></para></listitem>
+                <listitem><para><link linkend='var-CONFLICT_COMBINED_FEATURES'><filename>CONFLICT_COMBINED_FEATURES</filename></link></para></listitem>
+            </itemizedlist>
+            As a result, the class has been renamed to
+            <link linkend='ref-classes-features_check'><filename>features_check</filename></link>;
+            the <link linkend='ref-classes-distro_features_check'><filename>distro_features_check</filename></link>
+            class still exists but generates a deprecation warning and redirects to the new class.
+            In preparation for a future removal of the old class, it is recommended that you
+            update recipes currently inheriting <filename>distro_features_check</filename>
+            to inherit <filename>features_check</filename> instead.
         </para>
     </section>
 
documentation/ref-manual/ref-classes.xml +30 -13

55 lines not on this page · raw message

documentation/ref-manual/ref-variables.xml +144 -14

199 lines not on this page · raw message

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

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