From: Richard Purdie Date: Sun, 1 Nov 2020 11:47:29 +0000 (+0000) Subject: libxcb: Fix install file owner/group X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~9752 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ef5c2a8d77fcb4a51c875a443f7b97b409586e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb index f27c5daa617..e9f6051b6e1 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) }