summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-14 11:25:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:09 +0000
commit7769b1f3fa218f648e9d753a5cbd7cebb422069e (patch)
tree6b4832bb70e4beb5222410e14373b82d45ea6ef5 /meta/recipes-devtools/python
parent4e87cfb56dd58cd196335ec17442fb6d91408ec8 (diff)
downloadpoky-7769b1f3fa218f648e9d753a5cbd7cebb422069e.tar.gz
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. (From OE-Core rev: 3c1e7e50c929436d0007d60e738c8270e7e6c7d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb5
1 files changed, 5 insertions, 0 deletions
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 b9e6b811c3..da6718fb90 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 += " \
19 ${PYTHON_PN}-cryptography \ 19 ${PYTHON_PN}-cryptography \
20" 20"
21 21
22do_install:append () {
23 # Remove the sha256 checksum lines for pycache files
24 sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i
25}
26
22BBCLASSEXTEND = "native nativesdk" 27BBCLASSEXTEND = "native nativesdk"
23 28
24UPSTREAM_CHECK_REGEX = "" 29UPSTREAM_CHECK_REGEX = ""