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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239633): https://lists.openembedded.org/g/openembedded-core/message/239633 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]] -=-=-=-=-=-=-=-=-=-=-=-
