mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
python3-pip: Improve reproducibility
Pip installed wheels are not reproducible currently. The direct_url files encode an installation path and the installed wheels compile the python files at their location, not their final install location which is incorrect. To fix this, simply disable the direct_urls and pass the "root" to the python compile function to strip that path out of the compiled files. (From OE-Core rev: 2c74d5346e7581949fbdebc4744c8317236221c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -14,6 +14,7 @@ DEPENDS:append:class-native = " unzip-native"
|
||||
|
||||
SRC_URI += "file://0001-change-shebang-to-python3.patch"
|
||||
SRC_URI += "file://no_shebang_mangling.patch"
|
||||
SRC_URI += "file://reproducible.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user