Commit Message

Various parts of the buildsystem have to work with symlinks. Resolving
them is not trivial because they are always relative to a sysroot
directory.
Patch adds a function which returns the destination of a symlink by
assuming a given path as the / toplevel directory. A testsuite was
added too.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
meta/lib/oe/path.py | 87 +++++++++++++++++++++++++++++++++++++++++
meta/lib/oe/tests/test_path.py | 89 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 176 insertions(+)
create mode 100644 meta/lib/oe/tests/test_path.py