diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-11-22 16:45:50 +0800 |
---|---|---|
committer | Hongxu Jia <hongxu.jia@windriver.com> | 2017-11-24 14:35:51 +0800 |
commit | 192a1d815a83fcc2650571e58cc836f7e7114039 (patch) | |
tree | c145d27f25ebbef8b42686a2219705f17885a961 /recipes-graphics | |
parent | c46b43c8f15281a5da2627ca7f09f64ac888cc87 (diff) | |
download | meta-anaconda-192a1d815a83fcc2650571e58cc836f7e7114039.tar.gz meta-anaconda-192a1d815a83fcc2650571e58cc836f7e7114039.tar.bz2 meta-anaconda-192a1d815a83fcc2650571e58cc836f7e7114039.zip |
meta-anaconda: add xserver-xf86-config bbappend
Tweak display rate from "640x480" to "1024x768". The xorg.conf
is already overridden by qemux86-64 in oe-core, so we have to
use sed to do the modification.
The bbappend works only if DISTRO = "anaconda".
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 12 |
1 files changed, 12 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..5447273 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -0,0 +1,12 @@ +do_install_prepend_qemux86-64_anaconda () { + if test -s ${WORKDIR}/xorg.conf; then + sed -i 's/Modes *"640x480"/Modes "1024x768"/g' ${WORKDIR}/xorg.conf + fi +} + +do_install_prepend_qemux86_anaconda () { + if test -s ${WORKDIR}/xorg.conf; then + sed -i 's/Modes *"640x480"/Modes "1024x768"/g' ${WORKDIR}/xorg.conf + fi +} + |