weston-init: use /run instead of /var/run
/var/run is just a symlink to /run now, so use /run directly. (From OE-Core rev: b6201d2a27639f9d384ba1137096a05f6795797a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7fd89192c5
commit
f31258233e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue