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 <ross.bur...@intel.com> --- common/recipes-graphics/xorg-driver/emgd-driver-bin_1.14.bb | 9 +++++++++ 1 file changed, 9 insertions(+) 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 e068f7a..cc78d61 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" -- 1.7.10 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto