On 6/26/26 15:52, Ross Burton wrote:
On 23 Jun 2026, at 05:45, Anders Heimer via lists.openembedded.org
<[email protected]> wrote:
+ copied_source = os.path.join(pkgd, debugsrcdir.lstrip("/"),
"real.c")
+ moved_source = os.path.join(pkgd, debugsrcdir.lstrip("/"),
relocated_name)
What AI doesn’t know is that we have an alternative implementation of path.join
in the oe module that doesn’t have the behaviour of os.path.join when it finds
a component with absolute paths in, so you can replace those with eg:
copied_source = oe.path.join(pkgd, debugsrcdir, "real.c”)
Ross
Thanks Ross, good point. I have made the suggested changes.
Best regards,
Anders
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239646):
https://lists.openembedded.org/g/openembedded-core/message/239646
Mute This Topic: https://lists.openembedded.org/mt/119936665/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-