summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-01 11:47:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-02 11:35:10 +0000
commitd0152bd6f5238894eb25d823aa6c9bc8602a396a (patch)
tree874bbe044817c32922316f583fbba1558e481006 /meta/recipes-graphics
parent8978115d3bc54ee9ff7efac7e95216c985a18ee3 (diff)
downloadpoky-d0152bd6f5238894eb25d823aa6c9bc8602a396a.tar.gz
libxcb: Fix install file owner/group
The makefile uses cp -P behind the scenes for installing the tutorial files and this preserves the build user identity. Fix this to the correct owner/group. Usually do_package fixes and hides this but it can be seen in do_install. (From OE-Core rev: 34ef5c2a8d77fcb4a51c875a443f7b97b409586e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_1.14.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
index f27c5daa61..e9f6051b6e 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
@@ -30,6 +30,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
30 30
31export PYTHON = "python3" 31export PYTHON = "python3"
32 32
33do_install_append () {
34 chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R
35}
36
33python populate_packages_prepend () { 37python populate_packages_prepend () {
34 do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True) 38 do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
35} 39}