Bug 9000 - xserver-common's /etc/X11/Xserver requires xinit but does not depend on it
Summary: xserver-common's /etc/X11/Xserver requires xinit but does not depend on it
Status: RESOLVED MOVED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-26 00:08 UTC by Yann Dirson
Modified: 2016-01-26 11:37 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Dirson 2016-01-26 00:08:31 UTC
When building a core-image-x11 (for orangepi-plus using work in progress at https://github.com/O-Computers), without using meta-oe I get a working environment that includes xinit.  But after adding the meta-oe layer and just adding the glmark2 package to my image, the result is a non-functional X for lack of xinit, but with xserver-common which comes from meta-oe as well.

This naive patch produces a working image, but I guess there may be more things to adjust...

diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
index 0315ed7..f06b197 100644
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
@@ -38,7 +38,7 @@ do_install_append() {
     done
 }
 
-RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator"
+RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator xinit"
 
 RCONFLICTS_${PN} = "xserver-kdrive-common x11-common"
 RREPLACES_${PN} = "xserver-kdrive-common x11-common"
Comment 1 Ross Burton 2016-01-26 11:37:38 UTC
Sorry, but meta-oe doesn't use this bug tracker.  Can you please submit this patch to the openembedded-devel@lists.openembedded.org mailing list?