]> code.ossystems Code Review - openembedded-core.git/commit
sysroot-relativelinks: also consider links to dirs on the host
authorChristopher Larson <chris_larson@mentor.com>
Tue, 28 Mar 2017 16:14:55 +0000 (21:14 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Mar 2017 16:21:02 +0000 (17:21 +0100)
commitc5b522378fff13962a5187d9d09979866f805cb5
tree5b087d35bc4c43d9b6c4fc15183fb3f737b8c2da
parent9a23af37ad11a7176248ade88511f34fe6dd97bb
sysroot-relativelinks: also consider links to dirs on the host

Dead symlinks, or symlinks to existing files will show up in 'files' of an
os.walk, but symlinks to existing directories show up in 'dirs', so we need to
consider both.

As one example where this is an issue, the symlink from /usr/lib/ssl/certs was
left pointing to /etc/ssl/certs rather than the relative path when the sdk was
built on hosts where the latter exists.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/sysroot-relativelinks.py