Skip to contentSkip to conversation

classes.rst: document openssl-native.bbclass

PATCH In review Mikko Rapeli 2 participants 3 messages Oct 5, 2022 – Oct 26, 2022 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v4 2/5 classes.rst: document openssl-native.bbclass

It sets various environment variables correctly for openssl-native.

---
 documentation/ref-manual/classes.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

v4: updated to :ref: syntax and simplified text

v3: no changes

v2: moved doc changes to separate patch

documentation/ref-manual/classes.rst +10 -0
index 11e0d472e8..8a10e51eb7 100644
@@ -1672,6 +1672,16 @@ 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 :ref:`openssl-native <ref-classes-openssl-native>` class supports using
+the native version of ``openssl`` built by the Yocto Project instead of the
+one provided by the build host distribution. 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
Reviewed-by on v4 2/5
#1 lore raw

Mikko, Quentin,

Thanks for the patch and documentation review.
Indeed, it's great to get documentation updates together with the code.

Quoted 18 lines · Mikko Rapeli

It sets various environment variables correctly for openssl-native.

---
  documentation/ref-manual/classes.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)

v4: updated to :ref: syntax and simplified text

v3: no changes

v2: moved doc changes to separate patch

documentation/ref-manual/classes.rst +0 -0
index 11e0d472e8..8a10e51eb7 100644

documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1678

Quoted 7 lines
documentation/ref-manual/classes.rst +4 -0
@@ -1672,6 +1672,16 @@ 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``
+==================

Oops, here Sphinx complains that you don't have enough "=" characters to match the title length:
/home/mike/work/git/git.yoctoproject.org/yocto-docs/documentation/ref-manual/classes.rst:1678: WARNING: Title underline too short.

Fixed.

documentation/ref-manual/classes.rst one such example. However, being aware of this class can reduce the · line 1685

Quoted 7 lines
documentation/ref-manual/classes.rst +6 -0
+
+The :ref:`openssl-native <ref-classes-openssl-native>` class supports using
+the native version of ``openssl`` built by the Yocto Project instead of the
+one provided by the build host distribution. For full certificate checking
+users should also add ``ca-certificates-native`` to :term:`DEPENDS`.
+
  .. _ref-classes-overlayfs:

Looks good to me otherwise.

... and waiting for the corresponding patches to be merged in OE-core before merging the change in the documentation.

Thanks again
Cheers
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]

#3 lore raw

Hi Mikko,

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

... and waiting for the corresponding patches to be merged in OE-core before merging the change in the documentation.

Still keeping an eye at Poky master for the appearance of openssl-native.bbclass, and keeping your changes in my local branch. Don't hesitate ping me when you know this happened.

Thanks again
Michael.

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