[oe-commits] Jonathan Liu : udev: do not create /var/volatile/run in init script

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


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

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

udev: do not create /var/volatile/run in init script

Previously in udev init, /var/volatile/run had to be created after
mounting all tmpfs filesystems so that udevd can write to /var/run
(a symbolic link to /var/volatile/run). This is because udev is
started before populate-volatile.sh.

Now that /var/run is a symbolic link to /run (a tmpfs filesystem),
/var/volatile/run doesn't need to be created anymore.

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-core/udev/udev/init |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index cd87f50..95f9c03 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -50,7 +50,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
     mkdir -p /var/volatile/tmp
 
     # cache handling



More information about the Openembedded-commits mailing list