Continue the OE-Core shell=True cleanup in oe.package. Replace the copydebugsources() shell pipelines with explicit Popen chains using argv lists, env= for LC_ALL and cwd= for cpio. Also replace the externalsrc mv shell glob with glob.glob(glob.escape(...)) so metacharacters in the directory path are handled literally.
The first copy pipeline keeps the previous failure-tolerant behavior, while the symlink fixup pipeline now checks each stage directly. Add oeqa tests for normal copying, symlink dereferencing, multiple -ffile-prefix-map entries, ignored source paths, and externalsrc relocation. Anders Heimer (2): package: replace copydebugsources shell pipelines with Popen oeqa/oelib: add copydebugsources tests meta/lib/oe/package.py | 63 +++-- meta/lib/oeqa/selftest/cases/oelib/package.py | 220 ++++++++++++++++++ 2 files changed, 265 insertions(+), 18 deletions(-) create mode 100644 meta/lib/oeqa/selftest/cases/oelib/package.py
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#238877): https://lists.openembedded.org/g/openembedded-core/message/238877 Mute This Topic: https://lists.openembedded.org/mt/119830168/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
