]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
meta/lib/oe/copy_buildsystem.py: do not derefence symlinks
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 3 Nov 2023 10:28:04 +0000 (11:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Nov 2023 08:05:36 +0000 (08:05 +0000)
commit52a7bbd5c4875c5f61ea65dda38e495a2925a20d
tree9deacea4213dd1623421d03ca0bbbf0d3b060359
parent0f1361061c8c0b16ea2b50349b08a3b03140c45c
meta/lib/oe/copy_buildsystem.py: do not derefence symlinks

This was added (I think) for the purpose of supporting layers that refer
to items outside of the layer via relative symlinks:
https://git.yoctoproject.org/poky-contrib/commit/?id=d31d1ad4e566e42d0bbcf1f41ac25e33181fb517

I do not think copying the link target into the layer that references it is the
correct solution: rather the original target should be included
into the SDK with the same relative path.

This change is done for the sake of preserving symlinks
that are referencing things inside the layer as they are;
particularly the content of scripts/esdk-tools/.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/copy_buildsystem.py