diff options
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuall/noblank.conf | 7 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuall/noblank.conf b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuall/noblank.conf new file mode 100644 index 0000000000..9d40a9599a --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuall/noblank.conf | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # Disable screen blanking | ||
| 2 | Section "ServerFlags" | ||
| 3 | Option "BlankTime" "0" | ||
| 4 | Option "StandbyTime" "0" | ||
| 5 | Option "SuspendTime" "0" | ||
| 6 | Option "OffTime" "0" | ||
| 7 | EndSection | ||
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..841d931e82 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 | |||
| @@ -5,6 +5,7 @@ LICENSE = "MIT" | |||
| 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 6 | 6 | ||
| 7 | SRC_URI = "file://xorg.conf" | 7 | SRC_URI = "file://xorg.conf" |
| 8 | SRC_URI:append:qemuall = " file://noblank.conf" | ||
| 8 | 9 | ||
| 9 | S = "${WORKDIR}" | 10 | S = "${WORKDIR}" |
| 10 | 11 | ||
| @@ -18,4 +19,9 @@ do_install () { | |||
| 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 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ |
| 20 | fi | 21 | fi |
| 22 | |||
| 23 | if test -s ${S}/noblank.conf; then | ||
| 24 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d | ||
| 25 | install -m 0644 ${S}/noblank.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | ||
| 26 | fi | ||
| 21 | } | 27 | } |
