All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] package: replace copydebugsources shell pipelines with Popen
@ 2026-06-16  8:25 Anders Heimer
  2026-06-16  8:25 ` [PATCH 1/2] " Anders Heimer
  2026-06-16  8:25 ` [PATCH 2/2] oeqa/oelib: add copydebugsources tests Anders Heimer
  0 siblings, 2 replies; 8+ messages in thread
From: Anders Heimer @ 2026-06-16  8:25 UTC (permalink / raw)
  To: openembedded-core; +Cc: Anders Heimer

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-06-16 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16  8:25 [PATCH 0/2] package: replace copydebugsources shell pipelines with Popen Anders Heimer
2026-06-16  8:25 ` [PATCH 1/2] " Anders Heimer
2026-06-16 12:12   ` [OE-core] " Paul Barker
2026-06-16 13:35     ` Anders Heimer
2026-06-16 13:42       ` Paul Barker
2026-06-16 13:44       ` Richard Purdie
2026-06-16 14:13         ` Anders Heimer
2026-06-16  8:25 ` [PATCH 2/2] oeqa/oelib: add copydebugsources tests Anders Heimer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.