From 60be51b4eebe847d169b39dfdd7c41c9ed1d32f1 Mon Sep 17 00:00:00 2001 From: Jia Zhang Date: Sat, 16 Jun 2018 04:41:05 -0400 Subject: tpm2-abrmd: code style cleanup Signed-off-by: Jia Zhang --- meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_1.3.1.bb | 2 +- meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_git.bb | 18 +++++++++--------- 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" SRC_URI += " \ https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \ file://tpm2-abrmd.default \ - " +" SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de" SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea" 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}" S = "${WORKDIR}/${BPN}" do_configure_prepend () { - # execute the bootstrap script - currentdir=$(pwd) - cd ${S} - AUTORECONF=true ./bootstrap - cd ${currentdir} + # execute the bootstrap script + currentdir="$(pwd)" + cd "${S}" + AUTORECONF=true ./bootstrap + cd "${currentdir}" } do_install_append() { - install -d "${D}${sysconfdir}/init.d" - install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" + install -d "${D}${sysconfdir}/init.d" + install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd" - install -d "${D}${sysconfdir}/default" - install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd" + install -d "${D}${sysconfdir}/default" + install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd" } RDEPENDS_${PN} += "tpm2-tss" -- cgit v1.2.3-54-g00ecf