| Summary: | [Flatpak SDK] coredumpctl invocation when using a local SDK repo fallbacks to the remote repo | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> | ||||
| Component: | Tools / Tests | Assignee: | Lauro Moura <lmoura> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, ews-watchlist, glenn, jbedard, pnormand, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=219933 | ||||||
| Attachments: |
|
||||||
|
Description
Lauro Moura
2020-12-15 22:16:32 PST
Created attachment 417004 [details]
Patch
Comment on attachment 417004 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417004&action=review > Tools/Scripts/webkitpy/port/linux_get_crash_log.py:117 > + user_dir = os.environ.get('WEBKIT_FLATPAK_USER_DIR') > + if user_dir: > + cmd.append("--env=WEBKIT_FLATPAK_USER_DIR=%s" % user_dir) Might be simpler to pass-through the env to popen? (In reply to Philippe Normand from comment #2) > Comment on attachment 417004 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=417004&action=review > > > Tools/Scripts/webkitpy/port/linux_get_crash_log.py:117 > > + user_dir = os.environ.get('WEBKIT_FLATPAK_USER_DIR') > > + if user_dir: > > + cmd.append("--env=WEBKIT_FLATPAK_USER_DIR=%s" % user_dir) > > Might be simpler to pass-through the env to popen? It's already passed through env as it's popen's default behavior to inherit the environment. The issue is that flatpak-spawn needs to be instructed which "non default" variables needs to be exported when creating the new shell for the new host command. Committed r271199: <https://trac.webkit.org/changeset/271199> |