systemd: do not create /var/volatile/run and /var/volatile/lock
authorJonathan Liu <net147@gmail.com>
Sun, 26 May 2013 11:13:02 +0000 (21:13 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 May 2013 21:07:56 +0000 (22:07 +0100)
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>
meta/recipes-core/systemd/systemd/00-create-volatile.conf
meta/recipes-core/systemd/systemd/init

index 6163a9c..9ffa88e 100644 (file)
@@ -4,6 +4,4 @@
 
 
 d              /var/volatile/log               -       -       -       -
-d              /var/volatile/lock              -       -       -       -
-d              /var/volatile/run               -       -       -       -
 d              /var/volatile/tmp               -       -       -       -
index ac56cca..a42e732 100644 (file)
@@ -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