diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-02-04 20:27:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-15 11:23:10 +0000 |
commit | e23d41fed9aa2f61a2431b9852053437918f7bcc (patch) | |
tree | 6316976d8c80ed4afe812806b939f7f60d7ac9b2 /meta/recipes-graphics/xorg-proto | |
parent | daf59ef368c0a0ad74cbc881ab4933cc10f06e8c (diff) | |
download | poky-e23d41fed9aa2f61a2431b9852053437918f7bcc.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics/xorg-proto')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb index bc04bc48ea..be6b1a0200 100644 --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | |||
@@ -36,5 +36,5 @@ do_install_append() { | |||
36 | # Makefile's do_install creates .pyc files for python3, now also create | 36 | # Makefile's do_install creates .pyc files for python3, now also create |
37 | # them for python2 so that they will be recorded by manifest, and can be | 37 | # them for python2 so that they will be recorded by manifest, and can be |
38 | # cleaned correctly. | 38 | # cleaned correctly. |
39 | python -m py_compile ${D}${libdir}/xcb-proto/xcbgen/*.py | 39 | (cd ${D}; python -m py_compile ./${libdir}/xcb-proto/xcbgen/*.py) |
40 | } | 40 | } |