@@ -7,5 +7,5 @@
do_install[postfuncs] += "install_relative_symlinks"
python install_relative_symlinks () {
- oe.path.replace_absolute_symlinks(d.getVar('D'), d)
+ oe.path.replace_absolute_symlinks(d.getVar('D'))
}
@@ -59,7 +59,7 @@ def make_relative_symlink(path):
os.remove(path)
os.symlink(base, path)
-def replace_absolute_symlinks(basedir, d):
+def replace_absolute_symlinks(basedir):
"""
Walk basedir looking for absolute symlinks and replacing them with relative ones.
The absolute links are assumed to be relative to basedir
In replace_absolute_symlinks(), the datastore (d) argument is never used. Remove it. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- meta/classes/relative_symlinks.bbclass | 2 +- meta/lib/oe/path.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)