diff options
author | Chen Qi <qi.chen@windriver.com> | 2013-11-02 13:22:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-08 17:25:36 +0000 |
commit | 8a03d595b39dd9714c2eb9ea98618a666e8f6de2 (patch) | |
tree | 9da29e7a791a084c261bc3257c09f411de132b88 /meta/recipes-core/udev/udev | |
parent | f7140dc6f376df3a4cac341d62e41c63738d82b9 (diff) | |
download | ast2050-yocto-poky-8a03d595b39dd9714c2eb9ea98618a666e8f6de2.zip ast2050-yocto-poky-8a03d595b39dd9714c2eb9ea98618a666e8f6de2.tar.gz |
sysvinit: adjust boot sequence and remove hack from udev
Adjust the boot sequence in sysvinit based systems.
The mountall.sh (mounting the local file system) needs to be started
before udev and bootlogd.
This patch makes mountall.sh start before udev and removes the hack of
mounting tmpfs in the udev init script.
This patch also adds some comments to the udev init script to make it
clear why we create the '/var/volatile/tmp' directory.
[YOCTO #5273]
(From OE-Core rev: f6a9df6b7cd411b52e71022b8f7bf8bda6395649)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index e048a17..410a650 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init @@ -54,7 +54,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. |