aboutsummaryrefslogtreecommitdiffstats
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:23 +0100
commitee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2 (patch)
tree8ee6193c204111538e31a86a41985e9a2472d5e8 /meta/recipes-core/systemd
parentb314519f31699946140c93da961ff79e5ee28ccd (diff)
downloadopenembedded-core-ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2.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. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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
[ -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