[yocto] [meta-openssl102-fips][PATCH] README.build/image.inc: add missing openssl-fips to image

Hongxu Jia hongxu.jia at windriver.com
Wed Oct 9 01:28:47 PDT 2019


For Yocto and WRLinux, openssl fips works only if installing
package openssl-fips

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 README.build                             | 1 +
 templates/feature/openssl-fips/image.inc | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 templates/feature/openssl-fips/image.inc

diff --git a/README.build b/README.build
index c65555e..50bd9a5 100644
--- a/README.build
+++ b/README.build
@@ -132,6 +132,7 @@ Building Steps (based on section 4 of the UsersGuide-2.0.pdf):
     prebuilt tar archive.
 
     For Yocto, in your build directory, edit conf/local.conf, add:
+      IMAGE_INSTALL_append = " openssl-fips"
       OPENSSL_FIPS_ENABLED = "1"
       OPENSSL_FIPS_PREBUILT = "<path>"
 
diff --git a/templates/feature/openssl-fips/image.inc b/templates/feature/openssl-fips/image.inc
new file mode 100644
index 0000000..0d62e44
--- /dev/null
+++ b/templates/feature/openssl-fips/image.inc
@@ -0,0 +1 @@
+IMAGE_INSTALL += "openssl-fips"
-- 
2.7.4



More information about the yocto mailing list