Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
meta-anaconda: add xserver-xf86-config bbappend
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hongxu-jia committed Nov 24, 2017
1 parent c46b43c commit 192a1d8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 192a1d8

Please sign in to comment.