diff mbox series

[meta-parsec,v2] parsec-service: fix SRC_URI hash

Message ID 20230409174005.228887-1-akuster808@gmail.com
State New
Headers show
Series [meta-parsec,v2] parsec-service: fix SRC_URI hash | expand

Commit Message

akuster808 April 9, 2023, 5:40 p.m. UTC
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.

Signed-off-by: Armin Kuster <akuster808@gmail.com>

v2]
Fix patch applying
---
 .../recipes-parsec/parsec-service/parsec-service_1.2.0.bb     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Anton Antonov April 10, 2023, 2:03 p.m. UTC | #1
On Sun, Apr 9, 2023 at 10:40 AM, Armin Kuster wrote:

> 
> 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
diff mbox series

Patch

diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.2.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.2.0.bb
index 5f4ad5b..1d38dc5 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.2.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.2.0.bb
@@ -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)}"