From 35fb18863ade623076ca6e6821bdb3058d4c8edf Mon Sep 17 00:00:00 2001 From: Lans Zhang Date: Wed, 5 Jul 2017 09:29:09 +0800 Subject: cryptfs-tpm2: code style fixup Signed-off-by: Lans Zhang --- .../recipes-tpm/cryptfs-tpm2/cryptfs-tpm2_git.bb | 28 ++++++++++++---------- 1 file 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 @@ SUMMARY = "A tool used to create, persist, evict a passphrase \ for full-disk-encryption with TPM 2.0" -DESCRIPTION = " \ +DESCRIPTION = "\ This project provides with an implementation for \ creating, persisting and evicting a passphrase with TPM 2.0. \ The passphrase and its associated primary key are automatically \ @@ -12,24 +12,18 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=89c8ce1346a3dfe75379e84f3ba9d641" -SRC_URI = " \ - git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \ -" -SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64" -PV = "0.6.0+git${SRCPV}" - DEPENDS += "tpm2.0-tss tpm2-abrmd pkgconfig-native" -RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket" -PACKAGES =+ " \ - ${PN}-initramfs \ -" +PV = "0.6.0+git${SRCPV}" -PARALLEL_MAKE = "" +SRC_URI = "\ + git://github.com/WindRiver-OpenSourceLabs/cryptfs-tpm2.git \ +" +SRCREV = "5ee0580eb94dc9cb6629b6b5e6de0a3a2eef2b64" S = "${WORKDIR}/git" -EXTRA_OEMAKE = " \ +EXTRA_OEMAKE = "\ sbindir="${sbindir}" \ libdir="${libdir}" \ includedir="${includedir}" \ @@ -42,6 +36,8 @@ EXTRA_OEMAKE = " \ EXTRA_LDFLAGS="${LDFLAGS}" \ " +PARALLEL_MAKE = "" + do_install() { oe_runmake install DESTDIR="${D}" @@ -50,6 +46,12 @@ do_install() { fi } +PACKAGES =+ "\ + ${PN}-initramfs \ +" + FILES_${PN}-initramfs = "\ /init.cryptfs \ " + +RDEPENDS_${PN} += "libtss2 libtctidevice libtctisocket" -- cgit v1.2.3-54-g00ecf