summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJia Zhang <zhang.jia@linux.alibaba.com>2018-06-16 04:41:05 -0400
committerJia Zhang <zhang.jia@linux.alibaba.com>2018-06-16 04:41:05 -0400
commit60be51b4eebe847d169b39dfdd7c41c9ed1d32f1 (patch)
tree29e5ac7902204abdc226223e4cae3180ee689a88
parent62638c5a24977a26e8fecbdeda473b7a1ad7e276 (diff)
downloadmeta-secure-core-60be51b4eebe847d169b39dfdd7c41c9ed1d32f1.tar.gz
tpm2-abrmd: code style cleanup
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
-rw-r--r--meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb2
-rw-r--r--meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb18
2 files changed, 10 insertions, 10 deletions
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb
index 32d842d..6cdf373 100644
--- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb
+++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb
@@ -5,7 +5,7 @@ DEPENDS += "libtctidevice libtctisocket libtss2"
5SRC_URI += " \ 5SRC_URI += " \
6 https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \ 6 https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \
7 file://tpm2-abrmd.default \ 7 file://tpm2-abrmd.default \
8 " 8"
9SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de" 9SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de"
10SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea" 10SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea"
11 11
diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb
index a18a62c..22d1d45 100644
--- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb
+++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb
@@ -17,19 +17,19 @@ SRCREV = "${AUTOREV}"
17S = "${WORKDIR}/${BPN}" 17S = "${WORKDIR}/${BPN}"
18 18
19do_configure_prepend () { 19do_configure_prepend () {
20 # execute the bootstrap script 20 # execute the bootstrap script
21 currentdir=$(pwd) 21 currentdir="$(pwd)"
22 cd ${S} 22 cd "${S}"
23 AUTORECONF=true ./bootstrap 23 AUTORECONF=true ./bootstrap
24 cd ${currentdir} 24 cd "${currentdir}"
25} 25}
26 26
27do_install_append() { 27do_install_append() {
28 install -d "${D}${sysconfdir}/init.d" 28 install -d "${D}${sysconfdir}/init.d"
29 install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" 29 install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd"
30 30
31 install -d "${D}${sysconfdir}/default" 31 install -d "${D}${sysconfdir}/default"
32 install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd" 32 install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd"
33} 33}
34 34
35RDEPENDS_${PN} += "tpm2-tss" 35RDEPENDS_${PN} += "tpm2-tss"