summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 21:13:02 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:23 +0100
commitb314519f31699946140c93da961ff79e5ee28ccd (patch)
treed671467d9ff7bea1fc20102df0e7ba673f8f13de /meta/recipes-core
parent0e326280a15b0f2c4ef2ef4ec441f63f55b75873 (diff)
downloadopenembedded-core-b314519f31699946140c93da961ff79e5ee28ccd.tar.gz
openembedded-core-b314519f31699946140c93da961ff79e5ee28ccd.tar.bz2
openembedded-core-b314519f31699946140c93da961ff79e5ee28ccd.zip
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 Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd/00-create-volatile.conf2
-rw-r--r--meta/recipes-core/systemd/systemd/init1
2 files changed, 0 insertions, 3 deletions
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