summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2019-05-13 15:26:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-13 20:50:05 +0100
commit8e0c4eebab6a703f98ca32e07bf6a923e708d7a7 (patch)
treef7a8ecb141b06d79e1cb5912680037049901f55f /meta/recipes-graphics/wayland
parent6f9da27c76b0b2aacc5f7c4a2392fb14707e750c (diff)
downloadpoky-8e0c4eebab6a703f98ca32e07bf6a923e708d7a7.tar.gz
weston-init: Fix WESTON_USER typo
Commit 837c786d600ba69('weston-init: Add support for non-root start') added a typo that uses WEST_USER instead of WESTON_USER variable when chwon'ing the XDG_RUNTIME_DIR directory. Since WEST_USER is not defined, it will `chown :$WESTON_USER file`, which will work, but that is not 100% correctly and should be fixed. This patch basically fix the typo and now the file will be chown'ed to the WESTON_USER user. (From OE-Core rev: 1b9a2374be8723de654afa2c59a8b10266e5d8df) Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index d19dbcbf75..ccc7093425 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -75,7 +75,7 @@ if test -z "$XDG_RUNTIME_DIR"; then
75 fi 75 fi
76 if [ -n "$WESTON_USER" ] 76 if [ -n "$WESTON_USER" ]
77 then 77 then
78 chown $WEST_USER:$WESTON_USER $XDG_RUNTIME_DIR 78 chown $WESTON_USER:$WESTON_USER $XDG_RUNTIME_DIR
79 fi 79 fi
80fi 80fi
81 81