From fa655a783bc1e41109f408ff49b785d664f64106 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 17 Oct 2012 11:38:41 +0100 Subject: emgd-driver-bin: add xorg-abi-video- dependency xserver changes the driver ABI at will, and refuses to load drivers with the wrong ABI version. So that we know about this error at image build time instead of when xserver fails to start, RDEPEND on the ABI version we expect. This dependency is added programmatically so that bitbake doesn't look for a provider of xorg-abi-video-8 at parse time, which it won't find. Signed-off-by: Ross Burton Signed-off-by: Tom Zanussi --- common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/recipes-graphics') diff --git a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb index e068f7a6..cc78d61f 100644 --- a/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb +++ b/common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb @@ -19,6 +19,15 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf DEPENDS = "rpm-native xz-native" RDEPENDS = "libxcb-dri2" +# Add the ABI dependency at package generation time, as otherwise bitbake will +# attempt to find a provider for it (and fail) when it does the parse. +# +# This version *must* be kept correct. +python populate_packages_prepend() { + pn = d.getVar("PN", True) + d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8") +} + SRC_URI = "https://edc.intel.com/Download.aspx?id=6190;downloadfilename=LIN_IEMGD_1_14_GOLD_2443.tgz" SRC_URI[md5sum] = "733a7f237ffce21238ce2c9956df4fd6" -- cgit v1.2.3-54-g00ecf