]> code.ossystems Code Review - openembedded-core.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:01:20 +0000 (15:01 +0100)
commit272805f064848f14306b1ed2648a7760017ee318
treecef474d45390c91e21ba5b100d045598374287f6
parent97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2
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.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
meta/recipes-core/base-files/base-files_3.0.14.bb