summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/recipes-graphics/wayland')
-rw-r--r--meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bb b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bb
index d0f0eb556..152e13ca8 100644
--- a/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bb
+++ b/meta-agl-core/recipes-graphics/wayland/weston-ini-conf.bb
@@ -56,8 +56,7 @@ do_compile() {
sed -i -e '$ d' ${WORKDIR}/weston.ini.default
cat ${WORKDIR}/weston.ini.default > ${WORKDIR}/weston.ini.default-no-activate
- echo "[core]" >> ${WORKDIR}/weston.ini.default-no-activate
- echo "activate-by-default=false" >> ${WORKDIR}/weston.ini.default-no-activate
+ sed -i -e 's#\[core\]#[core]\nactivate-by-default=false#' ${WORKDIR}/weston.ini.default-no-activate
# Do it again, but filter fragments to configure for landscape
# and a corresponding landscape-inverted that is 180 degrees