]> code.ossystems Code Review - openembedded-core.git/commitdiff
libxcb: Fix install file owner/group
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Nov 2020 11:47:29 +0000 (11:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Nov 2020 11:35:06 +0000 (11:35 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxcb_1.14.bb

index f27c5daa617a428fca6837d97b2b59f63b91a8e7..e9f6051b6e10e75cf4ebb6dc314feee6c7a564c0 100644 (file)
@@ -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)
 }