summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@sancloud.co.uk>2019-03-12 11:19:34 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-15 13:10:58 +0000
commit26cc17a952e6aad00b9b89271bb6753b2c501aae (patch)
tree770500b3698de2a23839fedd953418e6931f20c2 /meta-agl-bsp/meta-sancloud/recipes-graphics/wayland
parenta8180882a044a8dd6d16dfa15c848ecb902b0134 (diff)
meta-agl-bsp: meta-sancloud: weston-ini-conf: Fix resolution for cluster demo
If the 'hdmi-a-1-270.cfg' file has been removed (for example, when building the cluster demo) then don't try to modify it. Change-Id: I0cfcf21803eedd451d1ff160cc5b6d5950a1ab79 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
Diffstat (limited to 'meta-agl-bsp/meta-sancloud/recipes-graphics/wayland')
-rw-r--r--meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
index 9ab46c826..e737b540a 100644
--- a/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
+++ b/meta-agl-bsp/meta-sancloud/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -1,4 +1,6 @@
do_configure_append_bbe() {
echo 'gbm-format=rgb565' >> ${WORKDIR}/core.cfg
- echo 'mode=1280x720' >> ${WORKDIR}/hdmi-a-1-270.cfg
+ if [[ -e "${WORKDIR}/hdmi-a-1-270.cfg" ]]; then
+ echo 'mode=1280x720' >> ${WORKDIR}/hdmi-a-1-270.cfg
+ fi
}