Skip to contentSkip to conversation

WIP LICENSE_FLAGS_DETAILS documentation

RFC PATCH In review [email protected] 3 participants 5 messages May 24, 2023 – Aug 3, 2023

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 WIP LICENSE_FLAGS_DETAILS documentation

From: Ross Burton <[email protected]>

---
 documentation/dev-manual/licenses.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/dev-manual/licenses.rst +7 -0
index 9629dc53293..805b40fd482 100644
@@ -123,6 +123,13 @@ name and version (after variable expansion)::
 
    LICENSE_FLAGS = "license_${PN}_${PV}"
 
+It is possible to specify where to find more details for a specific license
+using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:
+
+  LICENSE_FLAGS_DETAILS[my-eula-license] = "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
Signature · 1 line
2.34.1
#1 lore raw

Hi Ross,

Quoted 14 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/dev-manual/licenses.rst | 7 +++++++
  1 file changed, 7 insertions(+)
documentation/dev-manual/licenses.rst +0 -0
index 9629dc53293..805b40fd482 100644
@@ -123,6 +123,13 @@ name and version (after variable expansion)::
 
     LICENSE_FLAGS = "license_${PN}_${PV}"
 

documentation/dev-manual/licenses.rst name and version (after variable expansion):: · line 135

Quoted 10 lines
documentation/dev-manual/licenses.rst +7 -0
+It is possible to specify where to find more details for a specific license
+using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:
+
+  LICENSE_FLAGS_DETAILS[my-eula-license] = "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

Thank you for starting this.
I'll get back to it when support for LICENSE_FLAGS_DETAILS is merged.

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hi Michael,

Quoted 24 lines · Michael Opdenacker via lists.yoctoproject.org

Hi Ross,

Quoted 21 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/dev-manual/licenses.rst | 7 +++++++

  1 file changed, 7 insertions(+)
documentation/dev-manual/licenses.rst +0 -0
index 9629dc53293..805b40fd482 100644
@@ -123,6 +123,13 @@ name and version (after variable expansion)::

     LICENSE_FLAGS = "license_${PN}_${PV}"
+It is possible to specify where to find more details for a specific license

documentation/dev-manual/licenses.rst +3 -0
+using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:
+
+  LICENSE_FLAGS_DETAILS[my-eula-license] = 

"https://example.com/eula"

documentation/dev-manual/licenses.rst +2 -0
+
+If set, this will be displayed to the user if the license hasn't been 

accepted.

Quoted 9 lines
Quoted 4 lines

+
  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

Thank you for starting this.
I'll get back to it when support for LICENSE_FLAGS_DETAILS is merged.

I believe it's merged now? c.f. https://git.openembedded.org/openembedded-core/commit/?id=cb5cdcaf3310e889e80861ccfaf46c1bce624ac1

Maybe we would also benefit from an entry in the variable glossary for this one?

Cheers,
Quentin

#3 lore raw

Michael, Ross,

Quoted 37 lines · Quentin Schulz via lists.yoctoproject.org

Hi Michael,

Quoted 24 lines · Michael Opdenacker via lists.yoctoproject.org

Hi Ross,

Quoted 21 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/dev-manual/licenses.rst | 7 +++++++

  1 file changed, 7 insertions(+)
documentation/dev-manual/licenses.rst +0 -0
index 9629dc53293..805b40fd482 100644
@@ -123,6 +123,13 @@ name and version (after variable expansion)::

     LICENSE_FLAGS = "license_${PN}_${PV}"
+It is possible to specify where to find more details for a specific license

documentation/dev-manual/licenses.rst +3 -0
+using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:
+
+  LICENSE_FLAGS_DETAILS[my-eula-license] = 

"https://example.com/eula"

documentation/dev-manual/licenses.rst +2 -0
+
+If set, this will be displayed to the user if the license hasn't 

been accepted.

Quoted 9 lines
Quoted 4 lines

+
  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

Thank you for starting this.
I'll get back to it when support for LICENSE_FLAGS_DETAILS is merged.

Quoted 4 lines

I believe it's merged now? c.f. https://git.openembedded.org/openembedded-core/commit/?id=cb5cdcaf3310e889e80861ccfaf46c1bce624ac1

Maybe we would also benefit from an entry in the variable glossary for this one?

Any feedback to give on this RFC patch now that it's merged?

Cheers,
Quentin

#4 lore raw

Hi Quentin,

Quoted 39 lines · Quentin Schulz via lists.yoctoproject.org

Michael, Ross,

Quoted 36 lines · Quentin Schulz via lists.yoctoproject.org

Hi Michael,

Quoted 32 lines · Michael Opdenacker via lists.yoctoproject.org

Hi Ross,

Quoted 19 lines · Ross Burton

From: Ross Burton <[email protected]>

---
  documentation/dev-manual/licenses.rst | 7 +++++++

  1 file changed, 7 insertions(+)
documentation/dev-manual/licenses.rst +0 -0
index 9629dc53293..805b40fd482 100644
@@ -123,6 +123,13 @@ name and version (after variable expansion)::

     LICENSE_FLAGS = "license_${PN}_${PV}"
+It is possible to specify where to find more details for a specific license

documentation/dev-manual/licenses.rst +5 -0
+using flags on the :term:`LICENSE_FLAGS_DETAILS` variable:
+
+  LICENSE_FLAGS_DETAILS[my-eula-license] = "https://example.com/eula"
+
+If set, this will be displayed to the user if the license hasn't 
Quoted 5 lines

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

Thank you for starting this.
I'll get back to it when support for LICENSE_FLAGS_DETAILS is merged.

Quoted 6 lines
Quoted 4 lines

I believe it's merged now? c.f. https://git.openembedded.org/openembedded-core/commit/?id=cb5cdcaf3310e889e80861ccfaf46c1bce624ac1

Maybe we would also benefit from an entry in the variable glossary for this one?

Any feedback to give on this RFC patch now that it's merged?

Thanks for the reminder. I'll take care of it in the next days. Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com