diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index b3100e2..65931e2 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -1,17 +1,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + # Don't forget to bump PRINC if you update the extra files. -PRINC = "4" +PRINC := "${@int(PRINC) + 5}" THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" -SRC_URI_append_raspberrypi = " file://xorg.conf.d/*" +SRC_URI_append_raspberrypi = " file://xorg.conf.d/* " -CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf.d/*" - -do_install_append () { +do_install_append_raspberrypi () { install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/ } -FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d" \ No newline at end of file +FILES_${PN}_raspberrypi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"