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/recipes-core/initscripts | |
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/recipes-core/initscripts')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles index 270f128a12..297245d0e4 100644 --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles @@ -21,13 +21,12 @@ # This explains the order of "link before object" as in the example above, where # a link will be created at /var/test pointing to /tmp/testfile and due to this # link the file defined as /var/test will actually be created as /tmp/testfile. -d root root 1777 /var/volatile/lock none +d root root 1777 /run/lock none d root root 0755 /var/volatile/log none -d root root 0755 /var/volatile/run none d root root 1777 /var/volatile/tmp none -l root root 1777 /var/lock /var/volatile/lock +l root root 1777 /var/lock /run/lock l root root 0755 /var/log /var/volatile/log -l root root 0755 /var/run /var/volatile/run +l root root 0755 /var/run /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 |