summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 21:13:01 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:56 +0100
commitea647cd9eebdc3e3121b84074519c4bb305adac9 (patch)
tree9f8121f4dbeceb0bdee20dac327b441f9d4c3164 /meta/files
parentbeea111782b703746c86906fb1bd615e7da01905 (diff)
downloadpoky-ea647cd9eebdc3e3121b84074519c4bb305adac9.tar.gz
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 (From OE-Core rev: 0e326280a15b0f2c4ef2ef4ec441f63f55b75873) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/fs-perms.txt5
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
45 45
46# Items from base-files 46# Items from base-files
47# Links 47# Links
48${localstatedir}/run link volatile/run 48${localstatedir}/run link /run
49${localstatedir}/log link volatile/log 49${localstatedir}/log link volatile/log
50${localstatedir}/lock link volatile/lock 50${localstatedir}/lock link /run/lock
51${localstatedir}/tmp link volatile/tmp 51${localstatedir}/tmp link volatile/tmp
52 52
53# Special permissions from base-files 53# Special permissions from base-files
54# Set 1777 54# Set 1777
55/tmp 01777 root root false - - - 55/tmp 01777 root root false - - -
56${localstatedir}/volatile/lock 01777 root root false - - -
57${localstatedir}/volatile/tmp 01777 root root false - - - 56${localstatedir}/volatile/tmp 01777 root root false - - -
58 57
59# Set 2775 58# Set 2775