diff options
| author | Gassner, Tobias.ext <Tobias.Gassner.ext@karlstorz.com> | 2024-01-19 06:42:25 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-20 22:15:02 -0800 |
| commit | 9cb6fc0a54f83b07de1ce3df47ab628c3df1d954 (patch) | |
| tree | 43f72505a7a5c54cf4025a94bf1f20fa3a1694f6 | |
| parent | 28a3ef859f499fe9b68248c1013c7e9ee82ecd00 (diff) | |
| download | meta-openembedded-9cb6fc0a54f83b07de1ce3df47ab628c3df1d954.tar.gz | |
softhsm_2.6.1.bb fixing p11-kit module path, adding softhsm2.module to FILES
[Edited Message Follows]
[Reason: include softhsm2.module only in FILES if pk11 is set in PACKAGECONFIG]
From 216dba6552f2b3a65c3fc9b586736d93132a0166 Mon Sep 17 00:00:00 2001
From: "Gassner, Tobias.ext" <tobias.gassner.ext@karlstorz.com>
Date: Thu, 18 Jan 2024 12:50:22 +0100
Subject: [PATCH] softhsm_2.6.1.bb fixing p11-kit module path, adding
softhsm2.module to FILES
In order for the softhsm module to be discoverable by p11-kit proxy the
softhsm2.module file must be deployed to ${datadir}/p11-kit/modules.
This was previously not the case. Also the p11-kit module path
(--with-p11-kit) seemed to point to the wrong directory and had a syntax
error (two == instead one =).
Signed-off-by: Gassner, Tobias.ext <tobias.gassner.ext@karlstorz.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb index 2c68ba984f..930bca96ff 100644 --- a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb +++ b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb | |||
| @@ -27,7 +27,9 @@ PACKAGECONFIG[notvisable] = "--disable-visibility" | |||
| 27 | PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}/usr --with-crypto-backend=openssl, --without-openssl, openssl, openssl" | 27 | PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}/usr --with-crypto-backend=openssl, --without-openssl, openssl, openssl" |
| 28 | PACKAGECONFIG[botan] = "--with-botan=${STAGING_DIR_HOST}/usr --with-crypto-backend=botan, --without-botan, botan" | 28 | PACKAGECONFIG[botan] = "--with-botan=${STAGING_DIR_HOST}/usr --with-crypto-backend=botan, --without-botan, botan" |
| 29 | PACKAGECONFIG[migrate] = "--with-migrate" | 29 | PACKAGECONFIG[migrate] = "--with-migrate" |
| 30 | PACKAGECONFIG[pk11] = "--enable-p11-kit --with-p11-kit==${STAGING_DIR_HOST}/usr, --without-p11-kit, p11-kit, p11-kit" | 30 | PACKAGECONFIG[pk11] = "--enable-p11-kit --with-p11-kit=${datadir}/p11-kit/modules, --without-p11-kit, p11-kit, p11-kit" |
| 31 | |||
| 32 | FILES:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'pk11', '${datadir}/p11-kit/modules/softhsm2.module', '', d)}" | ||
| 31 | 33 | ||
| 32 | RDEPENDS:${PN} = "sqlite3" | 34 | RDEPENDS:${PN} = "sqlite3" |
| 33 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
