[OE-core] [PATCH] weston-init: use /run instead of /var/run

Ross Burton ross.burton at intel.com
Mon Nov 11 12:21:32 UTC 2013


/var/run is just a symlink to /run now, so use /run directly.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-graphics/wayland/weston-init/init |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init
index 284fd0a..8e662e0 100644
--- a/meta/recipes-graphics/wayland/weston-init/init
+++ b/meta/recipes-graphics/wayland/weston-init/init
@@ -29,7 +29,7 @@ case "$1" in
 
         # This is all a nasty hack
         if test -z "$XDG_RUNTIME_DIR"; then
-                export XDG_RUNTIME_DIR=/var/run/user/root
+                export XDG_RUNTIME_DIR=/run/user/root
                 mkdir --parents $XDG_RUNTIME_DIR
                 chmod 0700 $XDG_RUNTIME_DIR
         fi
-- 
1.7.10.4




More information about the Openembedded-core mailing list