]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/path: Add replace_absolute_symlinks function
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Feb 2017 15:08:54 +0000 (15:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Feb 2017 10:50:54 +0000 (10:50 +0000)
commit15376e5ff35367c1b40941d10e7b19302058a53e
tree44afaa4cdb66d06c77cf3b1033de15bf3bf98c31
parentf70603887f823c14030bb738c4951d7aa3f022db
lib/oe/path: Add replace_absolute_symlinks function

We need a function to walk a directory and replace absolute symlinks with
relative ones. Add such a function to the path module of lib/oe.

It does this relative to the directory being walked for files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py