udev: move /run volatile entry to udev instead of initscripts
authorRoss Burton <ross.burton@intel.com>
Tue, 26 Mar 2013 16:18:28 +0000 (16:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 22:43:05 +0000 (22:43 +0000)
commite9ce6a3a8bcf7b00808a0a07f1fcd47ae913c118
tree4a67f85270ae7c9a88b5e7cb0222d2c0c84babcb
parentf61983565197a2de517d39104de3d2c7bcf08b15
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>
meta/recipes-core/initscripts/initscripts-1.0/volatiles
meta/recipes-core/udev/udev.inc
meta/recipes-core/udev/udev/volatiles [new file with mode: 0644]