[yocto] [meta-selinux][PATCH 1/3] udev/init: sync to latest poky version ae819671

wenzong.fan at windriver.com wenzong.fan at windriver.com
Sun Jan 26 00:54:15 PST 2014


From: Wenzong Fan <wenzong.fan at windriver.com>

Sync with the latest init file from poky as of 01262014:

    oe-core commit: ae819671489a22bfdda11210ff620f564aa9b24b

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 recipes-core/udev/udev/init |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-core/udev/udev/init b/recipes-core/udev/udev/init
index 29146ec..7194e8c 100644
--- a/recipes-core/udev/udev/init
+++ b/recipes-core/udev/udev/init
@@ -56,7 +56,9 @@ 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
+    # the automount rule for udev needs /tmp directory available, as /tmp is a symlink
+    # to /var/tmp which in turn is a symlink to /var/volatile/tmp, we need to make sure
+    # /var/volatile/tmp directory to be available.
     mkdir -p /var/volatile/tmp
 
     # Cache handling.
-- 
1.7.9.5




More information about the yocto mailing list