]> code.ossystems Code Review - openembedded-core.git/commit
xserver-xorg: add runtime provides for the driver ABI version
authorRoss Burton <ross.burton@intel.com>
Mon, 22 Oct 2012 09:37:24 +0000 (10:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Oct 2012 11:27:14 +0000 (12:27 +0100)
commit8ef5f205aec04140198d5ba0f5c405ae6e977dbe
treeeca0743440ff3d6562ef65d9f00bb30fca7f76f1
parent5ae7825ed7b8221d1c37e3d053404a3f2f7d27f2
xserver-xorg: add runtime provides for the driver ABI version

The xserver driver ABIs can and do change in a way that is unrelated to the
version of xserver, so it's entirely possible to build an image that has a
mismatch between the server ABI version and the version that the drivers were
built against.  xserver detects this and refuses to load the modules.

By adding RPROVIDEs to the xserver package that describe the ABI versions it has
(such as xorg-abi-video-13, xorg-abi-input-11), drivers can RDEPEND on the
version that they were built against.  This means that when the ABIs change,
there will be package dependency errors at image time instead of images that
build fine but don't work.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc