diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index f0836e8b1d..eaf840d4d1 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -9941,6 +9941,28 @@ | |||
9941 | Adding these statements to the configuration file ensures | 9941 | Adding these statements to the configuration file ensures |
9942 | that the licenses collected during package generation | 9942 | that the licenses collected during package generation |
9943 | are included on your image. | 9943 | are included on your image. |
9944 | <note> | ||
9945 | <para>Setting all three variables to "1" results in the | ||
9946 | image having two copies of the same license file. | ||
9947 | One copy resides in | ||
9948 | <filename>/usr/share/common-licenses</filename> and | ||
9949 | the other resides in | ||
9950 | <filename>/usr/share/license</filename>.</para> | ||
9951 | |||
9952 | <para>The reason for this behavior is because | ||
9953 | <ulink url='&YOCTO_DOCS_REF_URL;#var-COPY_LIC_DIRS'><filename>COPY_LIC_DIRS</filename></ulink> | ||
9954 | and | ||
9955 | <ulink url='&YOCTO_DOCS_REF_URL;#var-COPY_LIC_MANIFEST'><filename>COPY_LIC_MANIFEST</filename></ulink> | ||
9956 | add a copy of the license when the image is built but do not | ||
9957 | offer a path for adding licenses for newly installed packages | ||
9958 | to an image. | ||
9959 | <ulink url='&YOCTO_DOCS_REF_URL;#var-LICENSE_CREATE_PACKAGE'><filename>LICENSE_CREATE_PACKAGE</filename></ulink> | ||
9960 | adds a separate package and an upgrade path for adding | ||
9961 | licenses to an image.</para> | ||
9962 | </note> | ||
9963 | </para> | ||
9964 | |||
9965 | <para> | ||
9944 | As the source archiver has already archived the original | 9966 | As the source archiver has already archived the original |
9945 | unmodified source that contains the license files, | 9967 | unmodified source that contains the license files, |
9946 | you would have already met the requirements for inclusion | 9968 | you would have already met the requirements for inclusion |