FIxes:

ERROR: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[parsec-tool-0.6.0.sha256sum] = 
"f51d5d7f0caca1c335324b52482fa5edbf6c9cfd2e6865e5cb22716d52dcb367"

Needed to have the package version included in the name.

Fixes:
ERROR: parsec-tool-0.6.0-r0 do_populate_lic: QA Issue: parsec-tool: 
LIC_FILES_CHKSUM points to an invalid file:
and
error: manifest path 
`/home/akuster/oss/clean/poky/build/tmp/work/cortexa53-poky-linux/parsec-tool/0.6.0-r0/parsec-tool-0.6.0//Cargo.toml`
 does not exist

Set S to CARGO_VENDORING_DIRECTORY/BP to fix the LIC_FILES_CHKSUM and compile 
errors.

Signed-off-by: Armin Kuster <[email protected]>
---
 meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.6.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.6.0.bb 
b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.6.0.bb
index c729406..6095ae1 100644
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.6.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.6.0.bb
@@ -7,9 +7,9 @@ inherit cargo cargo-update-recipe-crates
 
 SRC_URI += "crate://crates.io/parsec-tool/${PV} \
 "
-SRC_URI[parsec-tool.sha256sum] = 
"f51d5d7f0caca1c335324b52482fa5edbf6c9cfd2e6865e5cb22716d52dcb367"
+SRC_URI[parsec-tool-0.6.0.sha256sum] = 
"f51d5d7f0caca1c335324b52482fa5edbf6c9cfd2e6865e5cb22716d52dcb367"
 
-RDEPENDS:${PN} = "openssl-bin"
+S = "${CARGO_VENDORING_DIRECTORY}/${BP}"
 
 do_install() {
   install -d ${D}/${bindir}
@@ -19,6 +19,8 @@ do_install() {
 
 require parsec-tool-crates.inc
 
+RDEPENDS:${PN} = "openssl-bin"
+
 # The QA check has been temporarily disabled. An issue has been created
 # upstream to fix this.
 # https://github.com/parallaxsecond/parsec-tool/issues/94
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59646): https://lists.yoctoproject.org/g/yocto/message/59646
Mute This Topic: https://lists.yoctoproject.org/mt/98161275/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to