| Summary: | fix .pyc/.pyo buildpaths issue | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | core | Assignee: | Hongxu Jia <hongxu.jia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, sgw |
| Version: | 2.6 | ||
| Target Milestone: | 2.6 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
| Bug Depends on: | 7058 | ||
| Bug Blocks: | |||
|
Description
Robert Yang
2015-10-06 09:22:57 UTC
We need to do the investigation to find a way to replace build path with target path in .pyc/.pyo files. The fix has been sent to oe-core mailing list, but no reply. I should resend it in 2.3. Merged to oe-core commit 21f0c5a50e00ac34975d79fd48f08730d8f19b15 Author: Hongxu Jia <hongxu.jia@windriver.com> Date: Thu Jul 19 22:59:04 2018 +0800 distutils/setuptools, distutils3/setuptools3: improve reproducibility - Unify var-DISTUTILS_INSTALL_ARGS in distutils and setuptools - Supply "--root" directory to the "install" command, and use it as a prefix to strip off the purported filename encoded in bytecode files. (It strips build path prefix from .pyc files) |