summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
index 03f14cef2b..0972a5dd78 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
6 6
7SRC_URI = "file://xorg.conf" 7SRC_URI = "file://xorg.conf"
8 8
9S = "${WORKDIR}" 9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
10 11
11CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf" 12CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
12 13
@@ -14,8 +15,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
14ALLOW_EMPTY:${PN} = "1" 15ALLOW_EMPTY:${PN} = "1"
15 16
16do_install () { 17do_install () {
17 if test -s ${WORKDIR}/xorg.conf; then 18 if test -s ${S}/xorg.conf; then
18 install -d ${D}/${sysconfdir}/X11 19 install -d ${D}/${sysconfdir}/X11
19 install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ 20 install -m 0644 ${S}/xorg.conf ${D}/${sysconfdir}/X11/
20 fi 21 fi
21} 22}