classes.rst: document openssl-native.bbclass
PATCH v2 2/5 classes.rst: document openssl-native.bbclass
It sets various environment variables correctly for openssl-native.
--- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)
documentation/ref-manual/classes.rst +11 -0
@@ -1672,6 +1672,17 @@ one such example. However, being aware of this class can reduce the proliferation of different versions of similar classes across multiple layers. +.. _ref-classes-openssl-native: + +``openssl-native.bbclass`` +================== + +The ``openssl-native`` class supports using the native version of openssl +built by the build system rather than support of the version provided +by the build host. It helps setting environment variables for engines, +modules, certificates etc correctly. For full certificate checking +users should also add ``ca-certificates-native`` to :term:`DEPENDS`. + .. _ref-classes-overlayfs: ``overlayfs.bbclass``
Signature · 1 line
2.17.1
Hi Mikko,
Quoted 12 lines · Mikko Rapeli
It sets various environment variables correctly for openssl-native.
Signed-off-by Mikko Rapeli <[email protected]>--- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)documentation/ref-manual/classes.rst +0
-0
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1680
Quoted 9 lines
documentation/ref-manual/classes.rst +6
-0@@ -1672,6 +1672,17 @@ one such example. However, being aware of this class can reduce the proliferation of different versions of similar classes across multiple layers. +.. _ref-classes-openssl-native: + +``openssl-native.bbclass`` +================== + +The ``openssl-native`` class supports using the native version of openssl
The :ref:openssl-native <ref-classes-openssl-native> class supports using the native version of ``openssl``
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1685
Quoted 5 lines
documentation/ref-manual/classes.rst +5
-0+built by the build system rather than support of the version provided +by the build host. It helps setting environment variables for engines, +modules, certificates etc correctly. For full certificate checking +users should also add ``ca-certificates-native`` to :term:`DEPENDS`. +
I could suggest:
"""
built by the Yocto Project instead of the one provided by the build host distribution. """
I find "rather than support of the version..." confusing.
I think we could also replace the "It helps" sentence by stating that any recipe requiring openssl to be run on the host should inherit this class instead of just adding openssl-native to DEPENDS. Maybe that could even be a new QA check?
I would still keep the last sentence though.
What do you think?
(Thank you for sending a documentation patch in the same series as the code implementation, this is rare enough to be highlighted, much appreciated!)
Cheers,
Quentin
Hi,
Quoted 10 lines · Quentin Schulz
Hi Mikko,
Quoted 7 lines · Mikko Rapeli
It sets various environment variables correctly for openssl-native.
Signed-off-by Mikko Rapeli <[email protected]>--- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)
Quoted 16 lines
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1679
Quoted 13 lines
documentation/ref-manual/classes.rst +6
-0@@ -1672,6 +1672,17 @@ one such example. However, being aware of this class can reduce the proliferation of different versions of similar classes across multiple layers. +.. _ref-classes-openssl-native: + +``openssl-native.bbclass`` +================== + +The ``openssl-native`` class supports using the native version of opensslThe :ref:
openssl-native <ref-classes-openssl-native>class supports using the native version of ``openssl``
The text and syntax was shamesly copied from the other class descriptions. Sould those all be updated?
Quoted 14 lines
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1685
Quoted 5 lines
documentation/ref-manual/classes.rst +5
-0+built by the build system rather than support of the version provided +by the build host. It helps setting environment variables for engines, +modules, certificates etc correctly. For full certificate checking +users should also add ``ca-certificates-native`` to :term:`DEPENDS`. +I could suggest:
"""
built by the Yocto Project instead of the one provided by the build host distribution.
"""I find "rather than support of the version..." confusing.
Quoted 8 lines
I think we could also replace the "It helps" sentence by stating that any recipe requiring openssl to be run on the host should inherit this class instead of just adding openssl-native to DEPENDS. Maybe that could even be a new QA check?
I would still keep the last sentence though.
What do you think?
Yes, I can send a new version. I copied the text template form the other class descriptions so maybe they need to be changed too.
Quoted 2 lines
(Thank you for sending a documentation patch in the same series as the code implementation, this is rare enough to be highlighted, much appreciated!)
You're welcome. I RTFM all the time and thus would like to keep the docs in sync whenever I can.
Cheers,
-Mikko
Hi Mikko,
Quoted 30 lines · Mikko Rapeli
Hi,
Quoted 10 lines · Quentin Schulz
Hi Mikko,
Quoted 7 lines · Mikko Rapeli
It sets various environment variables correctly for openssl-native.
Signed-off-by Mikko Rapeli <[email protected]>--- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)Quoted 16 lines
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1679
Quoted 13 lines
documentation/ref-manual/classes.rst +6
-0@@ -1672,6 +1672,17 @@ one such example. However, being aware of this class can reduce the proliferation of different versions of similar classes across multiple layers. +.. _ref-classes-openssl-native: + +``openssl-native.bbclass`` +================== + +The ``openssl-native`` class supports using the native version of opensslThe :ref:
openssl-native <ref-classes-openssl-native>class supports using the native version of ``openssl``
Quoted 3 lines
The text and syntax was shamesly copied from the other class descriptions. Sould those all be updated?
It's being worked on by Michael AFAIK (he sent a v1 of 30 patches last week). In short, we want to have all mentions of classes and terms (variables basically) using a link (:ref: for classes, :term: for variables), even within the section defining the class or variable itself.
Quoted 19 lines
Quoted 19 lines
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1685
Quoted 5 lines
documentation/ref-manual/classes.rst +5
-0+built by the build system rather than support of the version provided +by the build host. It helps setting environment variables for engines, +modules, certificates etc correctly. For full certificate checking +users should also add ``ca-certificates-native`` to :term:`DEPENDS`. +I could suggest:
"""
built by the Yocto Project instead of the one provided by the build host distribution.
"""I find "rather than support of the version..." confusing.
I think we could also replace the "It helps" sentence by stating that any recipe requiring openssl to be run on the host should inherit this class instead of just adding openssl-native to DEPENDS. Maybe that could even be a new QA check?
Quoted 7 lines
Quoted 3 lines
I would still keep the last sentence though.
What do you think?
Yes, I can send a new version. I copied the text template form the other class descriptions so maybe they need to be changed too.
Mmmm, would you be able to point me to which class descriptions you're talking about? Not sure to understand what you're suggesting here :)
Cheers,
Quentin
Hi, dropping oe-core since this is doc specific
Quoted 33 lines · Quentin Schulz
Hi Mikko,
Quoted 30 lines · Mikko Rapeli
Hi,
Quoted 26 lines · Quentin Schulz
Hi Mikko,
Quoted 12 lines · Mikko Rapeli
It sets various environment variables correctly for openssl-native.
Signed-off-by Mikko Rapeli <[email protected]>--- documentation/ref-manual/classes.rst | 11 +++++++++++ 1 file changed, 11 insertions(+)documentation/ref-manual/classes.rst +0
-0documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1679
Quoted 8 lines
documentation/ref-manual/classes.rst +6
-0@@ -1672,6 +1672,17 @@ one such example. However, being aware of this class can reduce the proliferation of different versions of similar classes across multiple layers. +.. _ref-classes-openssl-native: + +``openssl-native.bbclass`` +================== + +The ``openssl-native`` class supports using the native version of opensslThe :ref:
openssl-native <ref-classes-openssl-native>class supports using the native version of ``openssl``
Quoted 8 lines
Quoted 3 lines
The text and syntax was shamesly copied from the other class descriptions. Sould those all be updated?
It's being worked on by Michael AFAIK (he sent a v1 of 30 patches last week). In short, we want to have all mentions of classes and terms (variables basically) using a link (:ref: for classes, :term: for variables), even within the section defining the class or variable itself.
Ok will send the update.
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1685
Quoted 5 lines
documentation/ref-manual/classes.rst +5
-0+built by the build system rather than support of the version provided +by the build host. It helps setting environment variables for engines, +modules, certificates etc correctly. For full certificate checking +users should also add ``ca-certificates-native`` to :term:`DEPENDS`. +I could suggest:
"""
built by the Yocto Project instead of the one provided by the build host distribution.
"""I find "rather than support of the version..." confusing.
I think we could also replace the "It helps" sentence by stating that any recipe requiring openssl to be run on the host should inherit this class instead of just adding openssl-native to DEPENDS. Maybe that could even be a new QA check?
I would still keep the last sentence though.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
What do you think?
Yes, I can send a new version. I copied the text template form the other class descriptions so maybe they need to be changed too.
Mmmm, would you be able to point me to which class descriptions you're talking about? Not sure to understand what you're suggesting here :)
Yes, python3native:
.. _ref-classes-python3native:
``python3native.bbclass``
=========================
The ``python3native`` class supports using the native version of Python 3 built by the build system rather than support of the version provided by the build host.
Cheers,
-Mikko