[oe-commits] Jonathan Liu : systemd: do not create symbolic link from /run to /var/run
git at git.openembedded.org
git at git.openembedded.org
Wed May 29 21:02:15 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ee8e5b3ddaae1d3ae473a3cea2ff60fcee5877a2
Author: Jonathan Liu <net147 at gmail.com>
Date: Sun May 26 21:13:03 2013 +1000
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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-core/systemd/systemd/init | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init
index a42e732..7e67a50 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
More information about the Openembedded-commits
mailing list