From d0152bd6f5238894eb25d823aa6c9bc8602a396a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 1 Nov 2020 11:47:29 +0000 Subject: 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 --- meta/recipes-graphics/xorg-lib/libxcb_1.14.bb | 4 ++++ 1 file changed, 4 insertions(+) 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" export PYTHON = "python3" +do_install_append () { + chown root.root ${D}${datadir}/doc/${BPN}/tutorial -R +} + python populate_packages_prepend () { do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True) } -- cgit v1.2.3-54-g00ecf