]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
base-files: Check for /run and /var/lock softlinks on upgrade
authorBryan Evenson <bevenson@melinkcorp.com>
Tue, 14 Apr 2015 21:08:15 +0000 (17:08 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Apr 2015 14:03:06 +0000 (15:03 +0100)
commit6f03a8d7ae383d63bfed8b85c06a697b86719004
treec4cdf94d854caf5e9311967b7eded5250ea03f2a
parent72d88f29da1ece634028420317233a45ff8e015b
base-files: Check for /run and /var/lock softlinks on upgrade

Commit ea647cd9eebdc3e3121b84074519c4bb305adac9 moved the locations
of /run and /var/lock to match the FHS 3 draft specifications.
However, the install doesn't remove the existing directories.
As a result, upgrading a system may result in /run as a softlink
to /var/run and /var/run as a softlink to /run, creating a circular
link.

During pre-install, check for the existence of the old softlinks and
remove them so the new directories can be installed.

(From OE-Core rev: 272805f064848f14306b1ed2648a7760017ee318)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-files/base-files_3.0.14.bb