diff options
author | Yunguo Wei <yunguo.wei@windriver.com> | 2018-09-11 09:49:18 +0800 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-09-12 17:49:31 +0800 |
commit | cc40f6c890adfb56a697c6294439fede797b5b87 (patch) | |
tree | d9540f60572b141e88a0a204c04fe9e2007d2a18 | |
parent | 41c93d480205a2a38db868b5198bb613b59cc622 (diff) | |
download | meta-secure-core-cc40f6c890adfb56a697c6294439fede797b5b87.tar.gz |
cryptfs-tpm2: uprev to 0.7
Now cryptfs-tpm2 supports both TSS 1.x and 2.x API.
Please specify "TSS2_VER=1" in EXTRA_OEMAKE to support 1.x API.
Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
-rw-r--r-- | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb index 084318f..c9d2a1f 100644 --- a/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb +++ b/meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | |||
@@ -17,12 +17,12 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641" | |||
17 | 17 | ||
18 | DEPENDS += "tpm2-tss tpm2-abrmd pkgconfig-native" | 18 | DEPENDS += "tpm2-tss tpm2-abrmd pkgconfig-native" |
19 | 19 | ||
20 | PV = "0.6.3+git${SRCPV}" | 20 | PV = "0.7.0+git${SRCPV}" |
21 | 21 | ||
22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ | 23 | git://github.com/jiazhang0/cryptfs-tpm2.git \ |
24 | " | 24 | " |
25 | SRCREV = "fb49abad57f7da72e94ed61b30fbf777400cf0a7" | 25 | SRCREV = "cb83b1d02e163d2e343e9e0bc3565c1d2c601b84" |
26 | 26 | ||
27 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
28 | 28 | ||
@@ -30,9 +30,9 @@ EXTRA_OEMAKE = "\ | |||
30 | sbindir="${sbindir}" \ | 30 | sbindir="${sbindir}" \ |
31 | libdir="${libdir}" \ | 31 | libdir="${libdir}" \ |
32 | includedir="${includedir}" \ | 32 | includedir="${includedir}" \ |
33 | tpm2_tss_includedir="${STAGING_INCDIR}/sapi" \ | 33 | tpm2_tss_includedir="${STAGING_INCDIR}/tss2" \ |
34 | tpm2_tss_libdir="${STAGING_LIBDIR}" \ | 34 | tpm2_tss_libdir="${STAGING_LIBDIR}" \ |
35 | tpm2_tabrmd_includedir="${STAGING_INCDIR}" \ | 35 | tpm2_tabrmd_includedir="${STAGING_INCDIR}/tss2" \ |
36 | CC="${CC}" \ | 36 | CC="${CC}" \ |
37 | PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \ | 37 | PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \ |
38 | EXTRA_CFLAGS="${CFLAGS}" \ | 38 | EXTRA_CFLAGS="${CFLAGS}" \ |
@@ -70,8 +70,8 @@ FILES_${PN}-initramfs = "\ | |||
70 | # @tpm2-abrmd: optional | 70 | # @tpm2-abrmd: optional |
71 | RDEPENDS_${PN} += "\ | 71 | RDEPENDS_${PN} += "\ |
72 | libtss2 \ | 72 | libtss2 \ |
73 | libtctidevice \ | 73 | libtss2-tcti-device \ |
74 | libtctisocket \ | 74 | libtss2-tcti-mssim \ |
75 | bash \ | 75 | bash \ |
76 | coreutils \ | 76 | coreutils \ |
77 | grep \ | 77 | grep \ |