From e23d41fed9aa2f61a2431b9852053437918f7bcc Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Sun, 4 Feb 2018 20:27:59 -0500 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-proto/xcb-proto_1.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-graphics/xorg-proto') 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() { # 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) } -- cgit v1.2.3-54-g00ecf