mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 10:09:22 +00:00
tpm2-abrmd: code style cleanup
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
This commit is contained in:
@@ -5,7 +5,7 @@ DEPENDS += "libtctidevice libtctisocket libtss2"
|
|||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \
|
https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz \
|
||||||
file://tpm2-abrmd.default \
|
file://tpm2-abrmd.default \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de"
|
SRC_URI[md5sum] = "3f5f2461fd98aca0add1187e4705c0de"
|
||||||
SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea"
|
SRC_URI[sha256sum] = "859d777a0d2c5d78309c4a2f06879a1e914b41324ea8258920a778a1ad7e38ea"
|
||||||
|
|
||||||
|
|||||||
@@ -17,19 +17,19 @@ SRCREV = "${AUTOREV}"
|
|||||||
S = "${WORKDIR}/${BPN}"
|
S = "${WORKDIR}/${BPN}"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
# execute the bootstrap script
|
# execute the bootstrap script
|
||||||
currentdir=$(pwd)
|
currentdir="$(pwd)"
|
||||||
cd ${S}
|
cd "${S}"
|
||||||
AUTORECONF=true ./bootstrap
|
AUTORECONF=true ./bootstrap
|
||||||
cd ${currentdir}
|
cd "${currentdir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d "${D}${sysconfdir}/init.d"
|
install -d "${D}${sysconfdir}/init.d"
|
||||||
install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd"
|
install -m 0755 "${WORKDIR}/tpm2-abrmd-init.sh" "${D}${sysconfdir}/init.d/tpm2-abrmd"
|
||||||
|
|
||||||
install -d "${D}${sysconfdir}/default"
|
install -d "${D}${sysconfdir}/default"
|
||||||
install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd"
|
install -m 0644 "${WORKDIR}/tpm2-abrmd_git.default" "${D}${sysconfdir}/default/tpm2-abrmd"
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} += "tpm2-tss"
|
RDEPENDS_${PN} += "tpm2-tss"
|
||||||
|
|||||||
Reference in New Issue
Block a user