X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=meta-agl%2Frecipes-graphics%2Fwayland%2FReadme.weston-ini-conf;h=bbd5a80c41ba605c313c18db6b18f2374b293788;hb=f0a08671f516cb0c252f476aa806f87b28829cd1;hp=740ac56d14372f5433ea4efeb8078d27a4a0245c;hpb=7d1d7457ff2b71abe95525b26148d5a3e7a42790;p=AGL%2Fmeta-agl.git diff --git a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf index 740ac56d1..bbd5a80c4 100644 --- a/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf +++ b/meta-agl/recipes-graphics/wayland/Readme.weston-ini-conf @@ -1,36 +1,34 @@ -#Generate a weston.ini file: +##Generate a weston.ini file: -To generate the weston.ini file: +To modify any of the default sections (core, shell, ivi-shell), add a +do_configure() function to your bbappend: ''' -[core] -backend=desktop-shell.so -shell=ivi-shell.so -''' - -Just create a Variable Flag: +do_configure() { + echo repaint-window=34 >> ${WORKDIR}/core.cfg + echo transition-duration=300 >> ${WORKDIR}/ivishell.cfg + echo cursor-theme=default >> ${WORKDIR}/ivishell.cfg +} ''' -WESTONCORE[backend]??="drm-backend.so" -WESTONCORE[shell]??="desktop-shell.so" -''' - -And add it to the Variable Flag WESTONSECTION, with the name of the section: +or: ''' -WESTONSECTION[WESTONCORE]?="core" +do_configure() { + sed -i -e 's/drm-backend/fbdev-backend/' ${WORKDIR}/core.cfg +} ''' -#You can custumize weston.ini by create a weston-ini-conf.bbappend: +To change the display from the default assumption of an HDMI-1-A connected +screen that needs to be rotated 270 degrees: ''' -WESTONCORE[repaint-window] ??= "34" +SRC_URI_remove = "file://hdmi-a-1-270.cfg" +SRC_URI += "file://hdmi-a-1-90.cfg" ''' -This will generate weston.ini file: - +To add new sections just list them in SRC_URI: ''' -[core] -backend=desktop-shell.so -shell=ivi-shell.so -repaint-window=34 +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://dsi.cfg" '''