diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2013-01-24 15:28:45 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 09:35:05 +0000 |
| commit | 12c4acd7ac5a27cf3676065b60f1c8395c96854c (patch) | |
| tree | f61f3877705510e2120a2a08f2bd0907fe265ab6 /meta/recipes-core/initscripts/initscripts-1.0/volatiles | |
| parent | 0b4af5f3e6c92ae8194447b027202c1933f47dd9 (diff) | |
| download | openembedded-core-12c4acd7ac5a27cf3676065b60f1c8395c96854c.tar.gz openembedded-core-12c4acd7ac5a27cf3676065b60f1c8395c96854c.tar.bz2 openembedded-core-12c4acd7ac5a27cf3676065b60f1c8395c96854c.zip | |
initscripts: let populate-volatile.sh create the /tmp link
Previously, the /tmp link (/tmp -> /var/tmp) was created by the
bootmisc.sh script. So in case of a read-only rootfs, this symlink
would not be created correctly.
The populate-volatile.sh script is intended to handle all directories
and files related to volatile storage, so we should let it create
the /tmp link.
In addition, because of the improments of populate-volatile.sh, the data
loss problem of bug#3404 is also resolved by this patch.
[YOCTO #3406]
[YOCTO #3404]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/volatiles')
| -rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles index e0741aad85..f7e2ef7aef 100644 --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles @@ -31,6 +31,7 @@ l root root 1777 /var/lock /var/volatile/lock l root root 0755 /var/log /var/volatile/log l root root 0755 /var/run /var/volatile/run l root root 1777 /var/tmp /var/volatile/tmp +l root root 1777 /tmp /var/tmp d root root 0755 /var/lock/subsys none f root root 0664 /var/log/wtmp none f root root 0664 /var/run/utmp none |
