From 0d8bd7d6ba79410d9349846a798cf6e7c279fa5d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 2 Feb 2016 17:29:37 -0800 Subject: [PATCH] ref-manual: Added description for LICENSE_CREATE_PACKAGE variable. Fixes [YOCTO #8633] Added a new variable description for LICENSE_CREATE_PACKAGE. (From yocto-docs rev: 49a2f8384e67a90d5b3227ab0de3d12eb311bd20) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 49aea7a147..8c7d7d436d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -7129,6 +7129,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + LICENSE_CREATE_PACKAGE + + LICENSE_CREATE_PACKAGE[doc] = "Creates an extra package (i.e. ${PN}-lic) for each recipe and adds that package to the RRECOMMENDS+${PN}." + + + + + Setting LICENSE_CREATE_PACKAGE + to "1" causes the OpenEmbedded build system to create + an extra package (i.e. + ${PN}-lic) + for each recipe and to add those packages to the + RRECOMMENDS_${PN}. + + + + The ${PN}-lic package installs a + directory in /usr/share-licenses + named ${PN}, which is the recipe's + base name, and installs files in that directory that + contain license and copyright information (i.e. copies of + the appropriate license files from + meta/common-licenses that match the + licenses specified in the + LICENSE + variable of the recipe metadata and copies of files marked + in + LIC_FILES_CHKSUM + as containing license text). + + + + LICENSE_FLAGS LICENSE_FLAGS[doc] = "Specifies additional flags for a recipe you must whitelist through LICENSE_FLAGS_WHITELIST in order to allow the recipe to be built."