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.

(From yocto-docs rev: a50e0628f3d40f9103c9a6ecccde61ad6d7f21c6)

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Quentin Schulz
2020-04-20 22:19:37 +02:00
committed by Richard Purdie
parent 03bb031125
commit 1f9ebcf8af
2 changed files with 31 additions and 0 deletions

View File

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

View File

@@ -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_&lt;packagename&gt; includes licenses (&lt;licenses&gt;) 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>
&nbsp;
</para>
</listitem>
</itemizedlist>
</para>
</section>
<section id='configuring-and-disabling-qa-checks'>