ref-manual: document new unlisted-pkg-lics insane-skip qa check
PATCH 1/1 ref-manual: document new unlisted-pkg-lics insane-skip qa check
The new unlisted-pkg-lics INSANE_SKIP QA check was introduced and need proper documentation.
This QA check makes sure all licenses listed for all packages built by a recipe are declared in the recipe LICENSE variable.
Signed-off-by Quentin Schulz <[email protected]>
---
please wait for the patch to be merged:
https://lists.openembedded.org/g/openembedded-core/message/137330
documentation/ref-manual/ref-classes.xml | 6 ++++++ documentation/ref-manual/ref-qa-checks.xml | 25 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)
documentation/ref-manual/ref-classes.xml +6 -0
@@ -1742,6 +1742,12 @@ This check was removed for YP 2.3 release </note> </para></listitem> --> + <listitem><para><emphasis><filename>unlisted-pkg-lics:</filename></emphasis> + Checks that all declared licenses applying for a package are also + declared on the recipe level (i.e. any license in + <filename>LICENSE_*</filename> should appear in + <link linkend='var-LICENSE'><filename>LICENSE</filename></link>). + </para></listitem> <listitem><para><emphasis><filename>useless-rpaths:</filename></emphasis> Checks for dynamic library load paths (rpaths) in the binaries that by default on a standard system are searched by the linker (e.g.
documentation/ref-manual/ref-qa-checks.xml +25 -0
@@ -1170,6 +1170,31 @@ can be found then it should be implemented. I can't find one at the moment. </listitem> </itemizedlist> </para> + + <para> + <itemizedlist> + <listitem> + <para id='qa-issue-unlisted-pkg-lics'> + <code> + LICENSE_<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics] + </code> + </para> + + <para> + The <link linkend='var-LICENSE'><filename>LICENSE</filename></link> + of the recipe should be a superset of all the licenses of + all packages produced by this recipe. + In other words, any license in <filename>LICENSE_*</filename> + should also appear in + <link linkend='var-LICENSE'><filename>LICENSE</filename></link>. + </para> + + <para> + + </para> + </listitem> + </itemizedlist> + </para> </section> <section id='configuring-and-disabling-qa-checks'>
Signature · 1 line
2.17.1