diff options
author | Jonathan Liu <net147@gmail.com> | 2013-05-26 21:13:01 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-29 22:07:23 +0100 |
commit | 0e326280a15b0f2c4ef2ef4ec441f63f55b75873 (patch) | |
tree | dc5c9fa0a492dd55ca7b44bac05d1a5b068e14eb /meta/files | |
parent | e34257bab558384936ba73f78902a5185ed51c49 (diff) | |
download | openembedded-core-0e326280a15b0f2c4ef2ef4ec441f63f55b75873.tar.gz openembedded-core-0e326280a15b0f2c4ef2ef4ec441f63f55b75873.tar.bz2 openembedded-core-0e326280a15b0f2c4ef2ef4ec441f63f55b75873.zip |
base-files: add /run directory from FHS 3 draft specification
This adds the /run directory from the Filesystem Hierarchy Standard 3.0
Draft [1] and refactors the filesystem as follows:
- Remove creation of /var/volatile/run
- Remove creation of /var/volatile/lock
- Remove symbolic link from /var/run to /var/volatile/run
- Remove symbolic link from /var/lock to /var/volatile/lock
- Add symbolic link from /var/run to /run
- Add symbolic link from /var/lock -> /run/lock
- Add /run to /etc/fstab for sysvinit compatibility
[1] http://www.linuxbase.org/betaspecs/fhs/fhs.html#runRuntimeVariableData
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/fs-perms.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt index becb85c8cb..c829bece2b 100644 --- a/meta/files/fs-perms.txt +++ b/meta/files/fs-perms.txt @@ -45,15 +45,14 @@ ${oldincludedir} 0755 root root true 0644 root root # Items from base-files # Links -${localstatedir}/run link volatile/run +${localstatedir}/run link /run ${localstatedir}/log link volatile/log -${localstatedir}/lock link volatile/lock +${localstatedir}/lock link /run/lock ${localstatedir}/tmp link volatile/tmp # Special permissions from base-files # Set 1777 /tmp 01777 root root false - - - -${localstatedir}/volatile/lock 01777 root root false - - - ${localstatedir}/volatile/tmp 01777 root root false - - - # Set 2775 |