diff options
| author | Norbert Kaminski <norbert.kaminski@3mdeb.com> | 2019-11-10 13:11:13 -0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2019-11-27 13:38:58 -0800 |
| commit | 3743c5daaedf4e0e1cbab0f2fc13e85196e0f864 (patch) | |
| tree | 16b63f4ef5ce716e4b77efdab4e0115b4a346966 | |
| parent | 4dd38351502a4b266d8eba958ca0661d9f85d0ba (diff) | |
| download | meta-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.bb | 4 |
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" | |||
| 17 | PACKAGECONFIG ??= "" | 17 | PACKAGECONFIG ??= "" |
| 18 | PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, " | 18 | PACKAGECONFIG[oxygen] = ",--disable-doxygen-doc, " |
| 19 | 19 | ||
| 20 | EXTRA_OECONF += "--with-udevrulesdir=${base_prefix}/lib/udev/rules.d/" | ||
| 21 | |||
| 20 | do_configure_prepend () { | 22 | do_configure_prepend () { |
| 21 | ./bootstrap | 23 | ./bootstrap |
| 22 | } | 24 | } |
| @@ -74,6 +76,6 @@ FILES_libtss2-dev = " \ | |||
| 74 | ${libdir}/libtss2*so" | 76 | ${libdir}/libtss2*so" |
| 75 | FILES_libtss2-staticdev = "${libdir}/libtss*a" | 77 | FILES_libtss2-staticdev = "${libdir}/libtss*a" |
| 76 | 78 | ||
| 77 | FILES_${PN} = "${libdir}/udev" | 79 | FILES_${PN} = "${libdir}/udev ${base_prefix}/lib/udev" |
| 78 | 80 | ||
| 79 | RDEPENDS_libtss2 = "libgcrypt" | 81 | RDEPENDS_libtss2 = "libgcrypt" |
