diff options
author | Ross Burton <ross.burton@intel.com> | 2013-03-26 16:18:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-26 22:43:05 +0000 |
commit | f76d4b3549ca220fa4bf84db2756ab45e11d06a3 (patch) | |
tree | 90489d75678103051eeb2afa84d527d33334a123 /meta/recipes-core/initscripts | |
parent | ce10e5f34aa870136feba526071f3c2989641599 (diff) | |
download | poky-f76d4b3549ca220fa4bf84db2756ab45e11d06a3.tar.gz |
udev: move /run volatile entry to udev instead of initscripts
initscripts is generally installed on systemd-using images, but because it
specifies that /run is a symlink to /var/run managed by volatiles it totally
breaks systemd by copying/deleting /run from underneath systemd. Deleting
sockets mid-boot doesn't leave systemd in a happy place.
As this volatile reference of /run was introduced by udev 182, move it's
reference to the udev recipe. This way it will never be present on systemd
images, as systemd manages /run as a tmpfs itself.
(From OE-Core rev: 5b0257e318340c2d6c8d3b0c3fa32272d6e9526b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles index f0c796c406..270f128a12 100644 --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles | |||
@@ -35,4 +35,3 @@ f root root 0664 /var/log/wtmp none | |||
35 | f root root 0664 /var/run/utmp none | 35 | f root root 0664 /var/run/utmp none |
36 | l root root 0644 /etc/resolv.conf /var/run/resolv.conf | 36 | l root root 0644 /etc/resolv.conf /var/run/resolv.conf |
37 | f root root 0644 /var/run/resolv.conf none | 37 | f root root 0644 /var/run/resolv.conf none |
38 | l root root 0755 /run /var/run | ||