mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
python-xcbgen: improve reproducibility
Use relative path to generate .pyc files could remove build host references which leads to non-reproducible builds. (From OE-Core rev: 230890227304e27acd074a3c748812d7a603d511) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
daf59ef368
commit
e23d41fed9
@@ -36,5 +36,5 @@ do_install_append() {
|
||||
# Makefile's do_install creates .pyc files for python3, now also create
|
||||
# them for python2 so that they will be recorded by manifest, and can be
|
||||
# cleaned correctly.
|
||||
python -m py_compile ${D}${libdir}/xcb-proto/xcbgen/*.py
|
||||
(cd ${D}; python -m py_compile ./${libdir}/xcb-proto/xcbgen/*.py)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user