Skip to contentSkip to conversation

ref-manual: replace Container Layer example

PATCH In review Michael Opdenacker 2 participants 5 messages Nov 5, 2021 – Nov 12, 2021 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 ref-manual: replace Container Layer example

meta-openembedded is not a layer by itself, at least according to the manual that specifies that a layer must have a conf/layer.conf file.

Use "meta-security" as a better example which is
consistent with this requirement for a layer.

---
 documentation/ref-manual/terms.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/ref-manual/terms.rst +3 -4
index eccae91a1c..d6f2162c4a 100644
@@ -134,10 +134,9 @@ universal, the list includes them just in case:
       the Texas Instruments ARM Cortex-A8 development board).
 
    :term:`Container Layer`
-      Layers that hold other layers. An example of a container layer is
-      OpenEmbedded's `meta-openembedded
-      <https://github.com/openembedded/meta-openembedded>`_ layer. The
-      ``meta-openembedded`` layer contains many ``meta-*`` layers.
+      A layer that holds other layers. An example of a container layer is
+      :yocto_git:`meta-security </meta-security/>`. This layer contains
+      many ``meta-*`` layers.
 
    :term:`Cross-Development Toolchain`
       In general, a cross-development toolchain is a collection of software
Signature · 1 line
2.25.1
#2 lore raw
Quoted 18 lines · Michael Opdenacker

meta-openembedded is not a layer by itself, at least according to the manual that specifies that a layer must have a conf/layer.conf file.

Use "meta-security" as a better example which is
consistent with this requirement for a layer.

---
 documentation/ref-manual/terms.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/ref-manual/terms.rst +0 -0
index eccae91a1c..d6f2162c4a 100644

documentation/ref-manual/terms.rst universal, the list includes them just in case: · line 139

Quoted 10 lines
documentation/ref-manual/terms.rst +3 -4
@@ -134,10 +134,9 @@ universal, the list includes them just in case:
       the Texas Instruments ARM Cortex-A8 development board).
 
    :term:`Container Layer`
-      Layers that hold other layers. An example of a container layer is
-      OpenEmbedded's `meta-openembedded
-      <https://github.com/openembedded/meta-openembedded>`_ layer. The
-      ``meta-openembedded`` layer contains many ``meta-*`` layers.
+      A layer that holds other layers. An example of a container layer is
+      :yocto_git:`meta-security </meta-security/>`. This layer contains
+      many ``meta-*`` layers.

let me think about this ... i might want it to be a bit longer to be
more comprehensive.

rday

#3 lore raw
In reply to Michael Opdenacker
Quoted 18 lines · Michael Opdenacker

meta-openembedded is not a layer by itself, at least according to the manual that specifies that a layer must have a conf/layer.conf file.

Use "meta-security" as a better example which is
consistent with this requirement for a layer.

---
 documentation/ref-manual/terms.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/ref-manual/terms.rst +0 -0
index eccae91a1c..d6f2162c4a 100644

documentation/ref-manual/terms.rst universal, the list includes them just in case: · line 139

Quoted 10 lines
documentation/ref-manual/terms.rst +3 -4
@@ -134,10 +134,9 @@ universal, the list includes them just in case:
       the Texas Instruments ARM Cortex-A8 development board).
 
    :term:`Container Layer`
-      Layers that hold other layers. An example of a container layer is
-      OpenEmbedded's `meta-openembedded
-      <https://github.com/openembedded/meta-openembedded>`_ layer. The
-      ``meta-openembedded`` layer contains many ``meta-*`` layers.
+      A layer that holds other layers. An example of a container layer is
+      :yocto_git:`meta-security </meta-security/>`. This layer contains
+      many ``meta-*`` layers.

being a little more verbose, how about

"A 'container layer' is an OE-compatible layer (in the sense that it would have a conf/layer.conf file identifying it as a layer, as well possible classes and recipes directories) that contains subdirectories that are OE-compatible layers in their own right. One example of this is OE's meta-security layer, which further contains subdirectories that are also layers, such as meta-hardening, meta-integrity and so on.

This is in contrast to the well-known meta-openembedded checkout which, while it contains numerous OE layers as subdirectories, is not itself an actual layer."

you know what ... maybe i'm overthinking this. maybe we should just
allow that a "container layer" is any checkout that contains valid sub-layers, regardless of whether the top level is a valid layer or not, so that both meta-openembedded and meta-security would qualify. it's not like the semantic difference makes any *actual* difference, so who cares?

thoughts? if this works, i can put together a patch.

rday

#4 lore raw

Hi Robert,

Quoted 46 lines · Robert P. J. Day
Quoted 18 lines · Michael Opdenacker

meta-openembedded is not a layer by itself, at least according to the manual that specifies that a layer must have a conf/layer.conf file.

Use "meta-security" as a better example which is
consistent with this requirement for a layer.

---
 documentation/ref-manual/terms.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/ref-manual/terms.rst +0 -0
index eccae91a1c..d6f2162c4a 100644

documentation/ref-manual/terms.rst universal, the list includes them just in case: · line 139

Quoted 10 lines
documentation/ref-manual/terms.rst +3 -4
@@ -134,10 +134,9 @@ universal, the list includes them just in case:
       the Texas Instruments ARM Cortex-A8 development board).
 
    :term:`Container Layer`
-      Layers that hold other layers. An example of a container layer is
-      OpenEmbedded's `meta-openembedded
-      <https://github.com/openembedded/meta-openembedded>`_ layer. The
-      ``meta-openembedded`` layer contains many ``meta-*`` layers.
+      A layer that holds other layers. An example of a container layer is
+      :yocto_git:`meta-security </meta-security/>`. This layer contains
+      many ``meta-*`` layers.

being a little more verbose, how about

"A 'container layer' is an OE-compatible layer (in the sense that it would have a conf/layer.conf file identifying it as a layer, as well possible classes and recipes directories) that contains subdirectories that are OE-compatible layers in their own right. One example of this is OE's meta-security layer, which further contains subdirectories that are also layers, such as meta-hardening, meta-integrity and so on.

This is in contrast to the well-known meta-openembedded checkout which, while it contains numerous OE layers as subdirectories, is not itself an actual layer."

Quoted 8 lines

you know what ... maybe i'm overthinking this. maybe we should just
allow that a "container layer" is any checkout that contains valid sub-layers, regardless of whether the top level is a valid layer or not, so that both meta-openembedded and meta-security would qualify. it's not like the semantic difference makes any *actual* difference, so who cares?

thoughts? if this works, i can put together a patch.

Thanks for the proposed text. It sounds good to me to clarify that a Container Layer sticks to the definition of a layer, but let's see what others think.
Thanks again
Michael.

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

author Applied
#6 lore raw
Quoted 56 lines · Michael Opdenacker

Hi Robert,

Quoted 53 lines · Robert P. J. Day
Quoted 18 lines · Michael Opdenacker

meta-openembedded is not a layer by itself, at least according to the manual that specifies that a layer must have a conf/layer.conf file.

Use "meta-security" as a better example which is
consistent with this requirement for a layer.

---
 documentation/ref-manual/terms.rst | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
documentation/ref-manual/terms.rst +0 -0
index eccae91a1c..d6f2162c4a 100644

documentation/ref-manual/terms.rst universal, the list includes them just in case: · line 139

Quoted 10 lines
documentation/ref-manual/terms.rst +3 -4
@@ -134,10 +134,9 @@ universal, the list includes them just in case:
       the Texas Instruments ARM Cortex-A8 development board).
 
    :term:`Container Layer`
-      Layers that hold other layers. An example of a container layer is
-      OpenEmbedded's `meta-openembedded
-      <https://github.com/openembedded/meta-openembedded>`_ layer. The
-      ``meta-openembedded`` layer contains many ``meta-*`` layers.
+      A layer that holds other layers. An example of a container layer is
+      :yocto_git:`meta-security </meta-security/>`. This layer contains
+      many ``meta-*`` layers.

being a little more verbose, how about

"A 'container layer' is an OE-compatible layer (in the sense that it would have a conf/layer.conf file identifying it as a layer, as well possible classes and recipes directories) that contains subdirectories that are OE-compatible layers in their own right. One example of this is OE's meta-security layer, which further contains subdirectories that are also layers, such as meta-hardening, meta-integrity and so on.

This is in contrast to the well-known meta-openembedded checkout which, while it contains numerous OE layers as subdirectories, is not itself an actual layer."

you know what ... maybe i'm overthinking this. maybe we should just
allow that a "container layer" is any checkout that contains valid sub-layers, regardless of whether the top level is a valid layer or not, so that both meta-openembedded and meta-security would qualify. it's not like the semantic difference makes any *actual* difference, so who cares?

Quoted 6 lines
Quoted 1 line

thoughts? if this works, i can put together a patch.

Thanks for the proposed text. It sounds good to me to clarify that a Container Layer sticks to the definition of a layer, but let's see what others think.
Thanks again
Michael.

Merged into "master-next". Thanks again.
Cheers
Michael.

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