summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 21:13:03 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:56 +0100
commit93107a133137b7aa5aebac086d20cc1b22d168c0 (patch)
tree8beb941c51c51f7ae89ebac06685e9496aa30c6c /meta/recipes-core/systemd
parent6d897ea2172181688e949e69efdfd5e86e2bba2d (diff)
downloadpoky-93107a133137b7aa5aebac086d20cc1b22d168c0.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd/init3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init
index a42e732ea3..7e67a50b66 100644
--- a/meta/recipes-core/systemd/systemd/init
+++ b/meta/recipes-core/systemd/systemd/init
@@ -42,9 +42,6 @@ case "$1" in
42 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts 42 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts
43 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm 43 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm
44 mount -a -t tmpfs 2>/dev/null 44 mount -a -t tmpfs 2>/dev/null
45 if [ ! -e /run ]; then
46 ln -s /var/run /run
47 fi
48 45
49 # cache handling 46 # cache handling
50 if [ "$DEVCACHE" != "" ]; then 47 if [ "$DEVCACHE" != "" ]; then