All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-parsec][v2][PATCH] parsec-service: fix SRC_URI hash
@ 2023-04-09 17:40 Armin Kuster
  2023-04-10 14:03 ` Anton Antonov
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Kuster @ 2023-04-09 17:40 UTC (permalink / raw)
  To: yocto

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(-)

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)}"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-parsec][v2][PATCH] parsec-service: fix SRC_URI hash
  2023-04-09 17:40 [meta-parsec][v2][PATCH] parsec-service: fix SRC_URI hash Armin Kuster
@ 2023-04-10 14:03 ` Anton Antonov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Antonov @ 2023-04-10 14:03 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 546 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-10 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-09 17:40 [meta-parsec][v2][PATCH] parsec-service: fix SRC_URI hash Armin Kuster
2023-04-10 14:03 ` Anton Antonov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.