[yocto] Copying an Xserver .conf file to the image rootfs usr/share/X11/xorg.conf.d

Chen, Simon simon.chen at lmco.com
Fri Jun 26 12:26:09 PDT 2015


Software/Hardware Used:
Yocto poky-dizzy-12.0.1
AMD Radeon E8860 GFX Card

Hi all,

I am trying write up a recipe that is supposed to pull in a custom  radeon.conf file and install it into Yocto's rootfs at /usr/share/X11/xorg.conf.d. This file is basically an Xorg configuration file that enables the use of an external Radeon GFX card. Radeon.conf, however, never gets successfully written into that directory after I run bitbake. My only hunch is perhaps  the other packages that write files in that directory are overwriting the radeon.conf file. There are other driver recipes that populate this directory with files such as glamor.conf, 10-evdev.conf, 10-quirks.conf, and 50-synaptics.conf.

...Otherwise, my implementation could also be flat out wrong. Radeon.conf lives in a folder called xorg-radeon-config, and here is my xorg-radeon-config.bb recipe file:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MST;md5=aeb0a03c272f6b3063369c470299d8af"
SRC_URI = " \
                  file://radeon.conf \
"
FILES_${PN} = "usr/share/X11/xorg.conf.d/"

S = "${WORKDIR}"
do_install () {
                install -d ${D}/usr/share/X11/xorg.conf.d/
                install -m 0644 ${WORKDIR}/radeon.conf ${D}/usr/share/X11/xorg.conf.d/
}

Thanks,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150626/c8043260/attachment.html>


More information about the yocto mailing list