summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend')
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 0000000..04204dc
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,17 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2# Don't forget to bump PRINC if you update the extra files.
3PRINC = "3"
4
5THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
6FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
7
8SRC_URI_append = " file://xorg.conf.d/*"
9
10CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf.d/*"
11
12do_install_append () {
13 install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
14 install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/
15}
16
17FILES_${PN} += "${sysconfdir}/X11/xorg.conf.d" \ No newline at end of file