Skip to contentSkip to conversation

tpm2-tools_git: Fix S (source dir) to match `destsuffix` of SRC_URI

PATCH In review Haris Okanovic 2 participants 2 messages Sep 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm2-tools_git: Fix S (source dir) to match `destsuffix` of SRC_URI

SRC_URI defines destsuffix=tpm2.0-tools which doesn't match S = "${WORKDIR}/${BPN}-${PV}" defined by tpm2-tools.inc.

---
 recipes-tpm/tpm2-tools/tpm2-tools_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-tpm/tpm2-tools/tpm2-tools_git.bb +1 -0
index be68a5f..dde9c84 100644
@@ -7,6 +7,7 @@ SRCREV = "${AUTOREV}"
 PVBASE := "${PV}"
 PV = "${PVBASE}.${SRCPV}"
 
+S = "${WORKDIR}/tpm2.0-tools"
 SRC_URI = " \
     git://github.com/01org/tpm2.0-tools.git;protocol=git;branch=master;name=tpm2.0-tools;destsuffix=tpm2.0-tools \
 "
Signature · 1 line
2.1.4
#1 lore raw

It's probably best to put "[meta-measured]" in the subject line so everyone knows for which repository this patch is intended.

Philip: maybe that could be added to the README/MAINTAINERS file(s)?