Patchwork weston-init: use /run instead of /var/run

login
register
mail settings
Submitter Ross Burton
Date Nov. 11, 2013, 12:21 p.m.
Message ID <1384172492-23874-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/61425/
State New
Headers show

Comments

Ross Burton - Nov. 11, 2013, 12:21 p.m.
/var/run is just a symlink to /run now, so use /run directly.

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

Patch

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