diff options
| author | Quentin Schulz <quentin.schulz@streamunlimited.com> | 2020-04-20 22:19:37 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-21 12:36:03 +0100 |
| commit | 1f9ebcf8afe11484181a5591a31d4550df49292a (patch) | |
| tree | 3c7452d070c4f94146cbfac09f917619d6f3046f /documentation | |
| parent | 03bb03112566bbb3d0b46aad911c3c01b404845e (diff) | |
| download | poky-1f9ebcf8afe11484181a5591a31d4550df49292a.tar.gz | |
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>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 6 | ||||
| -rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 25 |
2 files changed, 31 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index f9bbddd724..f8920d8c1b 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -1742,6 +1742,12 @@ This check was removed for YP 2.3 release | |||
| 1742 | </note> | 1742 | </note> |
| 1743 | </para></listitem> | 1743 | </para></listitem> |
| 1744 | --> | 1744 | --> |
| 1745 | <listitem><para><emphasis><filename>unlisted-pkg-lics:</filename></emphasis> | ||
| 1746 | Checks that all declared licenses applying for a package are also | ||
| 1747 | declared on the recipe level (i.e. any license in | ||
| 1748 | <filename>LICENSE_*</filename> should appear in | ||
| 1749 | <link linkend='var-LICENSE'><filename>LICENSE</filename></link>). | ||
| 1750 | </para></listitem> | ||
| 1745 | <listitem><para><emphasis><filename>useless-rpaths:</filename></emphasis> | 1751 | <listitem><para><emphasis><filename>useless-rpaths:</filename></emphasis> |
| 1746 | Checks for dynamic library load paths (rpaths) in the binaries that | 1752 | Checks for dynamic library load paths (rpaths) in the binaries that |
| 1747 | by default on a standard system are searched by the linker (e.g. | 1753 | by default on a standard system are searched by the linker (e.g. |
diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 515106ae68..424a19c59d 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml | |||
| @@ -1170,6 +1170,31 @@ can be found then it should be implemented. I can't find one at the moment. | |||
| 1170 | </listitem> | 1170 | </listitem> |
| 1171 | </itemizedlist> | 1171 | </itemizedlist> |
| 1172 | </para> | 1172 | </para> |
| 1173 | |||
| 1174 | <para> | ||
| 1175 | <itemizedlist> | ||
| 1176 | <listitem> | ||
| 1177 | <para id='qa-issue-unlisted-pkg-lics'> | ||
| 1178 | <code> | ||
| 1179 | LICENSE_<packagename> includes licenses (<licenses>) that are not listed in LICENSE [unlisted-pkg-lics] | ||
| 1180 | </code> | ||
| 1181 | </para> | ||
| 1182 | |||
| 1183 | <para> | ||
| 1184 | The <link linkend='var-LICENSE'><filename>LICENSE</filename></link> | ||
| 1185 | of the recipe should be a superset of all the licenses of | ||
| 1186 | all packages produced by this recipe. | ||
| 1187 | In other words, any license in <filename>LICENSE_*</filename> | ||
| 1188 | should also appear in | ||
| 1189 | <link linkend='var-LICENSE'><filename>LICENSE</filename></link>. | ||
| 1190 | </para> | ||
| 1191 | |||
| 1192 | <para> | ||
| 1193 | | ||
| 1194 | </para> | ||
| 1195 | </listitem> | ||
| 1196 | </itemizedlist> | ||
| 1197 | </para> | ||
| 1173 | </section> | 1198 | </section> |
| 1174 | 1199 | ||
| 1175 | <section id='configuring-and-disabling-qa-checks'> | 1200 | <section id='configuring-and-disabling-qa-checks'> |
