diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 8ab45193b8..4683b1c045 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -11158,6 +11158,26 @@ this function, you have to follow the following steps: | |||
11158 | For more usage information refer to :yocto_git:`the meta-spdxscanner repository | 11158 | For more usage information refer to :yocto_git:`the meta-spdxscanner repository |
11159 | </meta-spdxscanner/>`. | 11159 | </meta-spdxscanner/>`. |
11160 | 11160 | ||
11161 | Compliance Limitations with Executables Built from Static Libraries | ||
11162 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
11163 | |||
11164 | When package A is added to an image via the :term:`RDEPENDS` or :term:`RRECOMMENDS` | ||
11165 | mechanisms as well as explicitly included in the image recipe with | ||
11166 | :term:`IMAGE_INSTALL`, and depends on a static linked library recipe B | ||
11167 | (``DEPENDS += "B"``), package B will neither appear in the generated license | ||
11168 | manifest nor in the generated source tarballs. This occurs as the | ||
11169 | :ref:`license <ref-classes-license>` and :ref:`archiver <ref-classes-archiver>` | ||
11170 | classes assume that only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS` | ||
11171 | end up in the image. | ||
11172 | |||
11173 | As a result, potential obligations regarding license compliance for package B | ||
11174 | may not be met. | ||
11175 | |||
11176 | The Yocto Project doesn't enable static libraries by default, in part because | ||
11177 | of this issue. Before a solution to this limitation is found, you need to | ||
11178 | keep in mind that if your root filesystem is built from static libraries, | ||
11179 | you will need to manually ensure that your deliveries are compliant | ||
11180 | with the licenses of these libraries. | ||
11161 | 11181 | ||
11162 | Copying Non Standard Licenses | 11182 | Copying Non Standard Licenses |
11163 | ----------------------------- | 11183 | ----------------------------- |