Skip to contentSkip to conversation

parsec-service: fix SRC_URI hash

PATCH In review Armin Kuster 2 participants 2 messages Apr 9, 2023 – Apr 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 parsec-service: fix SRC_URI hash

Fixes:
ERROR: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[parsec-service-1.2.0.sha256sum] = "f58e7ba859c22cc1904dc8298b1a7d94ee1ba3b4d4808f28e4cc0c96ddb149c9"

Needed to S dir too.

v2]
Fix patch applying

---
 .../recipes-parsec/parsec-service/parsec-service_1.2.0.bb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-parsec/recipes-parsec/parsec-service/parsec-service_1.2.0.bb +3 -1
index 5f4ad5b..1d38dc5 100644
@@ -12,7 +12,9 @@ SRC_URI += "crate://crates.io/parsec-service/${PV} \
             file://systemd.patch \
             file://parsec-tmpfiles.conf \
 "
-SRC_URI[parsec-service.sha256sum] = "f58e7ba859c22cc1904dc8298b1a7d94ee1ba3b4d4808f28e4cc0c96ddb149c9"
+SRC_URI[parsec-service-1.2.0.sha256sum] = "f58e7ba859c22cc1904dc8298b1a7d94ee1ba3b4d4808f28e4cc0c96ddb149c9"
+
+S = "${CARGO_VENDORING_DIRECTORY}/${BP}"
 
 PACKAGECONFIG ??= "PKCS11 MBED-CRYPTO"
 have_TPM = "${@bb.utils.contains('DISTRO_FEATURES', 'tpm2', 'TPM', '', d)}"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 7 lines · Armin Kuster

Fixes:
ERROR: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[parsec-service-1.2.0.sha256sum] = "f58e7ba859c22cc1904dc8298b1a7d94ee1ba3b4d4808f28e4cc0c96ddb149c9"

Needed to S dir too.

Until a few days ago the S dir wasn't needed in the recipe if the crate fetcher was used. If it's a new fetcher behavior, then S should be defined in the cargo class instead, I think.

Cheers,

Anton