Bug 3192 - Xorg server and drivers should declare ABI dependencies
Summary: Xorg server and drivers should declare ABI dependencies
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-09-28 09:38 UTC by Ross Burton
Modified: 2013-03-27 09:29 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2012-09-28 09:38:14 UTC
It's entirely possible to end up with a valid image that doesn't start X because the server and drivers have different ABIs.  The package system can help avoid this by the xserver-xorg package providing names such as xorg-input-abi-16, and then the driver packages depending on those.

This will have to be implemented by the xorg-xserver package at build time writing the abi versions to staging, where they can be picked up driver builds and used in the dependencies.

For example, in Debian xserver-xorg generates and packages /usr/share/xserver-xorg/xinputdep which contains "xorg-input-abi-16, xserver-xorg-core (>= 2:1.12.3.901)".  Input drivers then add those dependencies to the package when they build.
Comment 1 Ross Burton 2012-10-26 12:49:31 UTC
Fixed in poky 662189deb638a538f814621f6ef62871d6e4084b and 662189deb638a538f814621f6ef62871d6e4084b.
Comment 2 Alexandru Palalau 2013-03-27 09:29:13 UTC
Verified on master branch.
Commit ID: 9ffee9add2d0380f4025e7a678a166f25a7d659e