[oe-commits] Jonathan Liu : systemd: do not create /var/volatile/run and /var/volatile/ lock

git at git.openembedded.org git at git.openembedded.org
Thu May 30 09:43:12 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: b314519f31699946140c93da961ff79e5ee28ccd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b314519f31699946140c93da961ff79e5ee28ccd

Author: Jonathan Liu <net147 at gmail.com>
Date:   Sun May 26 21:13:02 2013 +1000

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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../systemd/systemd/00-create-volatile.conf        |    2 --
 meta/recipes-core/systemd/systemd/init             |    1 -
 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 6163a9c..9ffa88e 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 ac56cca..a42e732 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



More information about the Openembedded-commits mailing list