diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-05 09:29:09 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-05 09:29:09 +0800 |
commit | 35fb18863ade623076ca6e6821bdb3058d4c8edf (patch) | |
tree | 5355e811a08460dc1f3829017065a036083e5bc1 | |
parent | 6ace7c99baf1b8ab5eb12793331cb3f4ffe695cf (diff) | |
download | meta-secure-core-35fb18863ade623076ca6e6821bdb3058d4c8edf.tar.gz |
cryptfs-tpm2: code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r-- | meta-encrypted-storage/recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 28 |
1 files changed, 15 insertions, 13 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 600470a..1298e73 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 | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "A tool used to create, persist, evict a passphrase \ | 1 | SUMMARY = "A tool used to create, persist, evict a passphrase \ |
2 | for full-disk-encryption with TPM 2.0" | 2 | for full-disk-encryption with TPM 2.0" |
3 | DESCRIPTION = " \ | 3 | DESCRIPTION = "\ |
4 | This project provides with an implementation for \ | 4 | This project provides with an implementation for \ |
5 | creating, persisting and evicting a passphrase with TPM 2.0. \ | 5 | creating, persisting and evicting a passphrase with TPM 2.0. \ |
6 | The passphrase and its associated primary key are automatically \ | 6 | The passphrase and its associated primary key are automatically \ |
@@ -12,24 +12,18 @@ SECTION = "devel" | |||
12 | LICENSE = "BSD-3-Clause" | 12 | LICENSE = "BSD-3-Clause" |
13 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641" | 13 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641" |
14 | 14 | ||
15 | SRC_URI = " \ | ||
16 | git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \ | ||
17 | " | ||
18 | SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64" | ||
19 | PV = "0.6.0+git${SRCPV}" | ||
20 | |||
21 | DEPENDS += "tpm2.0-tss tpm2-abrmd pkgconfig-native" | 15 | DEPENDS += "tpm2.0-tss tpm2-abrmd pkgconfig-native" |
22 | RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket" | ||
23 | 16 | ||
24 | PACKAGES =+ " \ | 17 | PV = "0.6.0+git${SRCPV}" |
25 | ${PN}-initramfs \ | ||
26 | " | ||
27 | 18 | ||
28 | PARALLEL_MAKE = "" | 19 | SRC_URI = "\ |
20 | git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \ | ||
21 | " | ||
22 | SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64" | ||
29 | 23 | ||
30 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
31 | 25 | ||
32 | EXTRA_OEMAKE = " \ | 26 | EXTRA_OEMAKE = "\ |
33 | sbindir="${sbindir}" \ | 27 | sbindir="${sbindir}" \ |
34 | libdir="${libdir}" \ | 28 | libdir="${libdir}" \ |
35 | includedir="${includedir}" \ | 29 | includedir="${includedir}" \ |
@@ -42,6 +36,8 @@ EXTRA_OEMAKE = " \ | |||
42 | EXTRA_LDFLAGS="${LDFLAGS}" \ | 36 | EXTRA_LDFLAGS="${LDFLAGS}" \ |
43 | " | 37 | " |
44 | 38 | ||
39 | PARALLEL_MAKE = "" | ||
40 | |||
45 | do_install() { | 41 | do_install() { |
46 | oe_runmake install DESTDIR="${D}" | 42 | oe_runmake install DESTDIR="${D}" |
47 | 43 | ||
@@ -50,6 +46,12 @@ do_install() { | |||
50 | fi | 46 | fi |
51 | } | 47 | } |
52 | 48 | ||
49 | PACKAGES =+ "\ | ||
50 | ${PN}-initramfs \ | ||
51 | " | ||
52 | |||
53 | FILES_${PN}-initramfs = "\ | 53 | FILES_${PN}-initramfs = "\ |
54 | /init.cryptfs \ | 54 | /init.cryptfs \ |
55 | " | 55 | " |
56 | |||
57 | RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket" | ||