summaryrefslogtreecommitdiffstats
path: root/meta
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:56 +0100
commit6d897ea2172181688e949e69efdfd5e86e2bba2d (patch)
treea181f00c01807784734b7c9d8ac7bdff9ab52b12 /meta
parentea647cd9eebdc3e3121b84074519c4bb305adac9 (diff)
downloadpoky-6d897ea2172181688e949e69efdfd5e86e2bba2d.tar.gz
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 <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 @@
4 4
5 5
6d /var/volatile/log - - - - 6d /var/volatile/log - - - -
7d /var/volatile/lock - - - -
8d /var/volatile/run - - - -
9d /var/volatile/tmp - - - - 7d /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
42 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts 42 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts
43 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm 43 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm
44 mount -a -t tmpfs 2>/dev/null 44 mount -a -t tmpfs 2>/dev/null
45 mkdir -p /var/volatile/run
46 if [ ! -e /run ]; then 45 if [ ! -e /run ]; then
47 ln -s /var/run /run 46 ln -s /var/run /run
48 fi 47 fi