mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
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 <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
parent
606f2a8799
commit
fa655a783b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user