All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add Xorg driver ABI dependencies
@ 2012-10-22  9:37 Ross Burton
  2012-10-22  9:37 ` [PATCH 1/3] xserver-xorg: add runtime provides for the driver ABI version Ross Burton
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ross Burton @ 2012-10-22  9:37 UTC (permalink / raw)
  To: openembedded-core

Hi,

The xserver driver ABIs frequently change and as such are versioned.  It's
entirely possible to build an image with an Xserver with ABI 13 but drivers
using ABI 11, and in this situation the server won't load the modules.  These
ABI versions have no relationship to the package version so the existing
dependencies can't be made stricter.

The solution Debian (and probably others) take is to add versioned Provides to
the server, and dependencies on those provides in the drivers.  Then ABI version
mismatches become package dependencies errors and are caught at image
construction time, not boot time.

Ross

The following changes since commit caba9cbfce09f19eb27f4c6615c0c5c48e1a2952:

  kernel.bbclass: add kernel-modules to PACKAGES (2012-10-19 23:06:26 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ross/xorg

for you to fetch changes up to 4bb20610fa08a2daf71f59b42929181500345e75:

  insane: add a check for Xorg driver ABI dependencies (2012-10-22 09:26:20 +0100)

----------------------------------------------------------------
Ross Burton (3):
      xserver-xorg: add runtime provides for the driver ABI version
      xorg-driver: add xserver driver ABI dependencies
      insane: add a check for Xorg driver ABI dependencies

 meta/classes/insane.bbclass                        |   20 ++++++++++++++-
 .../xorg-driver/xorg-driver-common.inc             |   17 +++++++++++-
 .../xorg-driver/xorg-driver-input.inc              |    4 +++
 .../xorg-driver/xorg-driver-video.inc              |    3 +++
 .../recipes-graphics/xorg-xserver/xserver-xorg.inc |   27 +++++++++++++++++++-
 5 files changed, 68 insertions(+), 3 deletions(-)

Ross Burton (3):
  xserver-xorg: add runtime provides for the driver ABI version
  xorg-driver: add xserver driver ABI dependencies
  insane: add a check for Xorg driver ABI dependencies

 meta/classes/insane.bbclass                        |   20 ++++++++++++++-
 .../xorg-driver/xorg-driver-common.inc             |   17 +++++++++++-
 .../xorg-driver/xorg-driver-input.inc              |    4 +++
 .../xorg-driver/xorg-driver-video.inc              |    3 +++
 .../recipes-graphics/xorg-xserver/xserver-xorg.inc |   27 +++++++++++++++++++-
 5 files changed, 68 insertions(+), 3 deletions(-)

-- 
1.7.10




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-24 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22  9:37 [PATCH 0/3] Add Xorg driver ABI dependencies Ross Burton
2012-10-22  9:37 ` [PATCH 1/3] xserver-xorg: add runtime provides for the driver ABI version Ross Burton
2012-10-22  9:37 ` [PATCH 2/3] xorg-driver: add xserver driver ABI dependencies Ross Burton
2012-10-22  9:37 ` [PATCH 3/3] insane: add a check for Xorg " Ross Burton
2012-10-23 18:53 ` [PATCH 0/3] Add " Saul Wold
2012-10-24 15:10   ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.