udev/init: sync to latest poky version ae819671

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

    oe-core commit: ae819671489a22bfdda11210ff620f564aa9b24b

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
This commit is contained in:
Wenzong Fan 2014-01-26 03:54:15 -05:00 committed by Xin Ouyang
parent 7c182186f5
commit 3dc49f04c0

View File

@ -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.