1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

systemd: do not create symbolic link from /run to /var/run

The /run directory already exists as a tmpfs with /var/run as a symbolic
link pointing to /run.

(From OE-Core rev: ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan Liu
2013-05-26 21:13:03 +10:00
committed by Richard Purdie
parent 6d897ea217
commit 93107a1331
-3
View File
@@ -42,9 +42,6 @@ case "$1" in
[ -e /dev/pts ] || mkdir -m 0755 /dev/pts
[ -e /dev/shm ] || mkdir -m 1777 /dev/shm
mount -a -t tmpfs 2>/dev/null
if [ ! -e /run ]; then
ln -s /var/run /run
fi
# cache handling
if [ "$DEVCACHE" != "" ]; then