summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 21:13:05 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:57 +0100
commit90b4d3d06dc60966cf529cc22425a36349a578d1 (patch)
treeec37e8d3a5d88c5060c5475c38a2d1119978140d
parent526ca27a3cc9eed54b3b90083fe25de41a63e385 (diff)
downloadpoky-90b4d3d06dc60966cf529cc22425a36349a578d1.tar.gz
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. (From OE-Core rev: d557f6615701c9f2f461a10c30de1d9572424266) 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>
-rw-r--r--meta/recipes-core/udev/udev/init1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index cd87f50832..95f9c0355f 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -50,7 +50,6 @@ case "$1" in
50 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts 50 [ -e /dev/pts ] || mkdir -m 0755 /dev/pts
51 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm 51 [ -e /dev/shm ] || mkdir -m 1777 /dev/shm
52 mount -a -t tmpfs 2>/dev/null 52 mount -a -t tmpfs 2>/dev/null
53 mkdir -p /var/volatile/run
54 mkdir -p /var/volatile/tmp 53 mkdir -p /var/volatile/tmp
55 54
56 # cache handling 55 # cache handling