From e70a97b5702ce4153a5159f16d7b88f360c3b3ec Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Tue, 30 Mar 2021 20:41:41 -0700 Subject: swtpm: file pip3 issue need native pip3, was using host's Signed-off-by: Armin Kuster -- V2] add python3-cryptography-native to DEPENDS forgot to add changes. --- meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb index b7ff2ad..ab77196 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb @@ -7,7 +7,7 @@ DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libt # configure checks for the tools already during compilation and # then swtpm_setup needs them at runtime -DEPENDS += "tpm-tools-native expect-native socat-native" +DEPENDS_append = " tpm-tools-native expect-native socat-native python3-pip-native python3-cryptography-native" SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464" SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \ @@ -17,8 +17,8 @@ PE = "1" S = "${WORKDIR}/git" -inherit autotools pkgconfig python3-dir PARALLEL_MAKE = "" +inherit autotools pkgconfig python3native TSS_USER="tss" TSS_GROUP="tss" @@ -41,7 +41,7 @@ USERADD_PARAM_${PN} = "--system -g ${TSS_GROUP} --home-dir \ PACKAGES =+ "${PN}-python" -FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_PN}/dist-packages/* " +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" PACKAGE_BEFORE_PN = "${PN}-cuse" FILES_${PN}-cuse = "${bindir}/swtpm_cuse" -- cgit v1.2.3-54-g00ecf