summaryrefslogtreecommitdiff
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init
index 32a474d72d..ac56ccaa72 100644
--- a/meta/recipes-core/systemd/systemd/init
+++ b/meta/recipes-core/systemd/systemd/init
@@ -43,6 +43,9 @@ case "$1" in
[ -e /dev/shm ] || mkdir -m 1777 /dev/shm
mount -a -t tmpfs 2>/dev/null
mkdir -p /var/volatile/run
+ if [ ! -e /run ]; then
+ ln -s /var/run /run
+ fi
# cache handling
if [ "$DEVCACHE" != "" ]; then