From: Richard Purdie Date: Mon, 14 Mar 2022 11:25:45 +0000 (+0000) Subject: python3-cryptography-vectors: Fix reproducibility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1e7e50c929436d0007d60e738c8270e7e6c7d9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-cryptography-vectors: Fix reproducibility We regenerate the pycache files and the checksums in the manifest are incorrect. Remove them to avoid this and ensure reproducibility. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb index b9e6b811c37..da6718fb90c 100644 --- a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb @@ -19,6 +19,11 @@ DEPENDS += " \ ${PYTHON_PN}-cryptography \ " +do_install:append () { + # Remove the sha256 checksum lines for pycache files + sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i +} + BBCLASSEXTEND = "native nativesdk" UPSTREAM_CHECK_REGEX = ""