From: Jonathan Liu Date: Sun, 26 May 2013 11:13:03 +0000 (+1000) Subject: systemd: do not create symbolic link from /run to /var/run X-Git-Tag: 2015-4~6399 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2;p=openembedded-core.git 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 Signed-off-by: Saul Wold --- 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