aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorbert Kaminski <norbert.kaminski@3mdeb.com>2019-11-10 13:11:13 -0800
committerArmin Kuster <akuster808@gmail.com>2020-01-04 15:46:27 -0800
commitea65bb60901ad53bafdd384eec61e8e99913899f (patch)
tree16b63f4ef5ce716e4b77efdab4e0115b4a346966
parent705b0b50ec2996da219be988a912161ceddb539e (diff)
downloadmeta-security-ea65bb60901ad53bafdd384eec61e8e99913899f.tar.gz
meta-security-ea65bb60901ad53bafdd384eec61e8e99913899f.tar.bz2
meta-security-ea65bb60901ad53bafdd384eec61e8e99913899f.zip
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"
PACKAGECONFIG ??= ""
PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, "
+EXTRA_OECONF += "--with-udevrulesdir=${base_prefix}/lib/udev/rules.d/"
+
do_configure_prepend () {
./bootstrap
}
@@ -74,6 +76,6 @@ FILES_libtss2-dev = " \
${libdir}/libtss2*so"
FILES_libtss2-staticdev = "${libdir}/libtss*a"
-FILES_${PN} = "${libdir}/udev"
+FILES_${PN} = "${libdir}/udev ${base_prefix}/lib/udev"
RDEPENDS_libtss2 = "libgcrypt"