SPEC-3723: restructure meta-agl
[AGL/meta-agl.git] / meta-agl-core / recipes-graphics / wayland / Readme.weston-ini-conf
1 ##Generate a weston.ini file:
2
3 To modify any of the default sections (core, shell, ivi-shell), add a
4 do_configure() function to your bbappend:
5
6 '''
7 do_configure() {
8     echo repaint-window=34 >> ${WORKDIR}/core.cfg
9
10     echo transition-duration=300 >> ${WORKDIR}/ivishell.cfg
11     echo cursor-theme=default >> ${WORKDIR}/ivishell.cfg
12 }
13 '''
14 or:
15 '''
16 do_configure() {
17     sed -i -e 's/drm-backend/fbdev-backend/' ${WORKDIR}/core.cfg
18 }
19 '''
20
21 To change the display from the default assumption of an HDMI-1-A connected
22 screen that needs to be rotated 270 degrees:
23
24 '''
25 SRC_URI_remove = "file://hdmi-a-1-270.cfg"
26 SRC_URI += "file://hdmi-a-1-90.cfg"
27 '''
28
29 To add new sections just list them in SRC_URI:
30 '''
31 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
32
33 SRC_URI += "file://dsi.cfg"
34 '''