diff mbox series

ref-manual/variables.rst: INCOMPATIBLE_LICENSE: document SDK check opt-out

Message ID 20261126131309.2581142-1-sean@geanix.com
State Under Review
Headers show
Series ref-manual/variables.rst: INCOMPATIBLE_LICENSE: document SDK check opt-out | expand

Commit Message

Sean Nyekjaer Nov. 26, 2026, 1:13 p.m. UTC
Since f757ae4dadab ("license_image: extend to SDK coverage"),
do_populate_sdk checks the SDK host and target sysroots against
INCOMPATIBLE_LICENSE. Document how to disable this when the restrictions
only apply to the image, as suggested on the list.

Suggested-by: Jörg Vehlow <joerg.vehlow@emlix.com>
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
 documentation/ref-manual/variables.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 2e01d0422..72ac158a6 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4825,6 +4825,18 @@  system and gives an overview of their function and contents.
       are no build time restrictions, but the license check is still
       performed when the image's filesystem is assembled from packages.
 
+      The license check is also performed by the
+      :ref:`ref-tasks-populate_sdk` task, for both the host (e.g.
+      ``nativesdk-*`` and ``*-cross-canadian-*`` packages) and target
+      sysroots of the SDK. If the restrictions are only meant to apply to the
+      image and not to its SDK, the check can be disabled for the
+      :ref:`ref-tasks-populate_sdk` task with::
+
+         INCOMPATIBLE_LICENSE:task-populate-sdk = ""
+
+      Alternatively, individual packages can be allowed in the SDK with
+      :term:`INCOMPATIBLE_LICENSE_EXCEPTIONS`.
+
       There is some support for wildcards in this variable's value,
       however it is restricted to specific licenses. Currently only
       these wildcards are allowed and expand as follows: