[oe-commits] [openembedded-core] 03/04: weston-init: Fix WESTON_USER typo

git at git.openembedded.org git at git.openembedded.org
Mon May 13 19:52:41 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 1b9a2374be8723de654afa2c59a8b10266e5d8df
Author: Breno Leitao <leitao at debian.org>
AuthorDate: Mon May 13 15:26:52 2019 +0100

    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.
    
    Signed-off-by: Breno Leitao <leitao at debian.org>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-graphics/wayland/weston-init/weston-start | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start
index d19dbcb..ccc7093 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
 	fi
 	if [ -n "$WESTON_USER" ]
 	then
-		chown $WEST_USER:$WESTON_USER $XDG_RUNTIME_DIR
+		chown $WESTON_USER:$WESTON_USER $XDG_RUNTIME_DIR
 	fi
 fi
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list