diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-02-15 10:09:15 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-03 17:40:19 +0000 |
commit | 5ca77b2fc6045ed15d9ce88feadca43fb163c79d (patch) | |
tree | ff7fb1f7f2b1a566b48999845594d10f36ba4db0 /documentation/dev-manual/dev-manual-common-tasks.xml | |
parent | a4398c7ff7b0cc7bbbc904f1bd09d619ab6c401f (diff) | |
download | poky-5ca77b2fc6045ed15d9ce88feadca43fb163c79d.tar.gz |
dev-manual, ref-manual: Updated licensing text information.
Fixes [YOCTO #8634]
To clear up the behavior the COPY_LIC_DIRS, COPY_LIC_MANIFEST,
and LICENSE_CREATE_PACKAGE variable behaviors, I updated the
glossary descriptions of the variables. Also, added more info
to the "Providing License Text" section in the dev-manual. Tied
everything together with good referencing.
(From yocto-docs rev: d1f8fb672aeba8b163cc79d5043e6ffcddc9db25)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 |