[yocto] [meta-openssl102-fips][PATCH 4/15] fipscheck: enable fipscheck on target
Hongxu Jia
hongxu.jia at windriver.com
Sun Sep 22 07:56:57 PDT 2019
Refer Fedora/RedHat's way
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/6.5_technical_notes/dracut
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
recipes-connectivity/openssh/fipscheck_1.5.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-connectivity/openssh/fipscheck_1.5.0.bb b/recipes-connectivity/openssh/fipscheck_1.5.0.bb
index 0a06bd3..23a4123 100644
--- a/recipes-connectivity/openssh/fipscheck_1.5.0.bb
+++ b/recipes-connectivity/openssh/fipscheck_1.5.0.bb
@@ -28,6 +28,10 @@ EXTRA_OEMAKE += " \
-I${STAGING_LIBDIR_NATIVE}/ssl/fips-2.0/include \
"
do_install_append() {
+ # Is't the fedora way to enable fipscheck
+ install -d ${D}${sysconfdir}
+ touch ${D}${sysconfdir}/system-fips
+
install -d ${D}${libdir}/fipscheck
}
--
2.7.4
More information about the yocto
mailing list