From 6d897ea2172181688e949e69efdfd5e86e2bba2d Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 26 May 2013 21:13:02 +1000 Subject: systemd: do not create /var/volatile/run and /var/volatile/lock The directories are not needed anymore. Previously: /var/run -> /var/volatile/run /var/lock -> /var/volatile/lock Now: /var/run -> /run /var/lock -> /run/lock (From OE-Core rev: b314519f31699946140c93da961ff79e5ee28ccd) Signed-off-by: Jonathan Liu Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd/00-create-volatile.conf | 2 -- meta/recipes-core/systemd/systemd/init | 1 - 2 files changed, 3 deletions(-) (limited to 'meta/recipes-core/systemd') diff --git a/meta/recipes-core/systemd/systemd/00-create-volatile.conf b/meta/recipes-core/systemd/systemd/00-create-volatile.conf index 6163a9cdce..9ffa88e464 100644 --- a/meta/recipes-core/systemd/systemd/00-create-volatile.conf +++ b/meta/recipes-core/systemd/systemd/00-create-volatile.conf @@ -4,6 +4,4 @@ d /var/volatile/log - - - - -d /var/volatile/lock - - - - -d /var/volatile/run - - - - d /var/volatile/tmp - - - - diff --git a/meta/recipes-core/systemd/systemd/init b/meta/recipes-core/systemd/systemd/init index ac56ccaa72..a42e732ea3 100644 --- a/meta/recipes-core/systemd/systemd/init +++ b/meta/recipes-core/systemd/systemd/init @@ -42,7 +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 - mkdir -p /var/volatile/run if [ ! -e /run ]; then ln -s /var/run /run fi -- cgit v1.2.3-54-g00ecf