mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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:
committed by
Richard Purdie
parent
7fd89192c5
commit
f31258233e
@@ -29,7 +29,7 @@ case "$1" in
|
|||||||
|
|
||||||
# This is all a nasty hack
|
# This is all a nasty hack
|
||||||
if test -z "$XDG_RUNTIME_DIR"; then
|
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
|
mkdir --parents $XDG_RUNTIME_DIR
|
||||||
chmod 0700 $XDG_RUNTIME_DIR
|
chmod 0700 $XDG_RUNTIME_DIR
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user