mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-09 05:29:56 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
705b0b50ec
commit
ea65bb6090
@@ -17,6 +17,8 @@ S = "${WORKDIR}/git"
|
|||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= ""
|
||||||
PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, "
|
PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, "
|
||||||
|
|
||||||
|
EXTRA_OECONF += "--with-udevrulesdir=${base_prefix}/lib/udev/rules.d/"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
@@ -74,6 +76,6 @@ FILES_libtss2-dev = " \
|
|||||||
${libdir}/libtss2*so"
|
${libdir}/libtss2*so"
|
||||||
FILES_libtss2-staticdev = "${libdir}/libtss*a"
|
FILES_libtss2-staticdev = "${libdir}/libtss*a"
|
||||||
|
|
||||||
FILES_${PN} = "${libdir}/udev"
|
FILES_${PN} = "${libdir}/udev ${base_prefix}/lib/udev"
|
||||||
|
|
||||||
RDEPENDS_libtss2 = "libgcrypt"
|
RDEPENDS_libtss2 = "libgcrypt"
|
||||||
|
|||||||
Reference in New Issue
Block a user