From 6e7bf979f264c6faa4fd3c598c1c7195569648f2 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 24 May 2023 17:32:01 +0100 Subject: manuals: document LICENSE_FLAGS_DETAILS (From yocto-docs rev: 299c9b295a8476abdb32fba01ac2f45efacea6f1) Signed-off-by: Ross Burton Signed-off-by: Michael Opdenacker CC: Quentin Schulz Signed-off-by: Richard Purdie --- documentation/dev-manual/licenses.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/licenses.rst b/documentation/dev-manual/licenses.rst index 9629dc5329..e3f0aa9dc1 100644 --- a/documentation/dev-manual/licenses.rst +++ b/documentation/dev-manual/licenses.rst @@ -123,6 +123,13 @@ name and version (after variable expansion):: LICENSE_FLAGS = "license_${PN}_${PV}" +It is possible to give more details about a specific license +using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:: + + LICENSE_FLAGS_DETAILS[my-eula-license] = "For further details, see https://example.com/eula." + +If set, this will be displayed to the user if the license hasn't been accepted. + In order for a component restricted by a :term:`LICENSE_FLAGS` definition to be enabled and included in an image, it needs to have a matching entry in the global -- cgit v1.2.3-54-g00ecf