summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorbert Kaminski <norbert.kaminski@3mdeb.com>2019-11-10 13:11:13 -0800
committerArmin Kuster <akuster808@gmail.com>2019-11-27 13:38:58 -0800
commit3743c5daaedf4e0e1cbab0f2fc13e85196e0f864 (patch)
tree16b63f4ef5ce716e4b77efdab4e0115b4a346966
parent4dd38351502a4b266d8eba958ca0661d9f85d0ba (diff)
downloadmeta-security-3743c5daaedf4e0e1cbab0f2fc13e85196e0f864.tar.gz
meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb: add new udev dir to FILES and append EXTRA_OECONF
The tpm2 tool freezes in a XEN distro. It stores the udev rules in /lib/udev directory, thus these changes append the FILES and EXTRA_OECONF to make tpm2 work properly. Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb
index 3e77f71..dfdf734 100644
--- a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_2.3.1.bb
@@ -17,6 +17,8 @@ S = "${WORKDIR}/git"
17PACKAGECONFIG ??= "" 17PACKAGECONFIG ??= ""
18PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, " 18PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, "
19 19
20EXTRA_OECONF += "--with-udevrulesdir=${base_prefix}/lib/udev/rules.d/"
21
20do_configure_prepend () { 22do_configure_prepend () {
21 ./bootstrap 23 ./bootstrap
22} 24}
@@ -74,6 +76,6 @@ FILES_libtss2-dev = " \
74 ${libdir}/libtss2*so" 76 ${libdir}/libtss2*so"
75FILES_libtss2-staticdev = "${libdir}/libtss*a" 77FILES_libtss2-staticdev = "${libdir}/libtss*a"
76 78
77FILES_${PN} = "${libdir}/udev" 79FILES_${PN} = "${libdir}/udev ${base_prefix}/lib/udev"
78 80
79RDEPENDS_libtss2 = "libgcrypt" 81RDEPENDS_libtss2 = "libgcrypt"