diff options
author | Armin Kuster <akuster808@gmail.com> | 2021-03-30 20:41:41 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-04-02 08:21:34 -0700 |
commit | e70a97b5702ce4153a5159f16d7b88f360c3b3ec (patch) | |
tree | 7e293640fbf91f2e17ef31762674719ab6a9bcdb | |
parent | 6bcba5f95c5eba4fb54efc26712a4604f2851c9d (diff) | |
download | meta-security-e70a97b5702ce4153a5159f16d7b88f360c3b3ec.tar.gz |
swtpm: file pip3 issue
need native pip3, was using host's
Signed-off-by: Armin Kuster <akuster808@gmail.com>
--
V2]
add python3-cryptography-native to DEPENDS
forgot to add changes.
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb | 6 |
1 files 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 | |||
7 | 7 | ||
8 | # configure checks for the tools already during compilation and | 8 | # configure checks for the tools already during compilation and |
9 | # then swtpm_setup needs them at runtime | 9 | # then swtpm_setup needs them at runtime |
10 | DEPENDS += "tpm-tools-native expect-native socat-native" | 10 | DEPENDS_append = " tpm-tools-native expect-native socat-native python3-pip-native python3-cryptography-native" |
11 | 11 | ||
12 | SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464" | 12 | SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464" |
13 | SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \ | 13 | SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \ |
@@ -17,8 +17,8 @@ PE = "1" | |||
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
20 | inherit autotools pkgconfig python3-dir | ||
21 | PARALLEL_MAKE = "" | 20 | PARALLEL_MAKE = "" |
21 | inherit autotools pkgconfig python3native | ||
22 | 22 | ||
23 | TSS_USER="tss" | 23 | TSS_USER="tss" |
24 | TSS_GROUP="tss" | 24 | TSS_GROUP="tss" |
@@ -41,7 +41,7 @@ USERADD_PARAM_${PN} = "--system -g ${TSS_GROUP} --home-dir \ | |||
41 | 41 | ||
42 | 42 | ||
43 | PACKAGES =+ "${PN}-python" | 43 | PACKAGES =+ "${PN}-python" |
44 | FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_PN}/dist-packages/* " | 44 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
45 | 45 | ||
46 | PACKAGE_BEFORE_PN = "${PN}-cuse" | 46 | PACKAGE_BEFORE_PN = "${PN}-cuse" |
47 | FILES_${PN}-cuse = "${bindir}/swtpm_cuse" | 47 | FILES_${PN}-cuse = "${bindir}/swtpm_cuse" |