Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c6ce8fd9c0a1105701414aeee63f466e8454f11
      
https://github.com/WebKit/WebKit/commit/7c6ce8fd9c0a1105701414aeee63f466e8454f11
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-05-14 (Thu, 14 May 2026)

  Changed paths:
    M Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py
    M Tools/glib/dependencies/apt
    M Tools/glib/dependencies/dnf
    M Tools/glib/dependencies/pacman

  Log Message:
  -----------
  [GTK][WPE][Tools] Make wkdev-build container ephemeral
https://bugs.webkit.org/show_bug.cgi?id=314841

Reviewed by Carlos Alberto Lopez Perez.

The persistent container required manual `podman rm` whenever its
create arguments changed, paid the first-run recursive chown cost,
and needed a `podman start` step after host reboots.

Switch to `podman run --rm --init` per host wrapper invocation. Run
as $UID:$GID with `--userns keep-id`; /run/user/<uid> comes from a
`--mount type=tmpfs,chown=true` whose ownership is set at mount time,
which removes the privileged init phase and the recursive chown. An
inline entrypoint refreshes the Wayland / PipeWire socket symlinks
and flatpak helper dirs in $XDG_RUNTIME_DIR, then execs the user
command.

Add podman/catatonit/crun as required packages to the dependencies
files.

Also fix coredumps:
Mount /var/lib/systemd/coredump and /var/log/journal (read-only) into the
wkdev-build container so that coredumpctl works inside it. Crashes inside
the container are handled by the host's core_pattern / systemd-coredump,
which writes to /var/lib/systemd/coredump; without these mounts the files
and their journal metadata are invisible to coredumpctl running in the
container.

* Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py:
(_translate_host_path_to_container):
(_build_podman_run_args):
(maybe_enter_webkit_container_sdk):
(_podman_container_info): Deleted.
(_build_podman_create_args): Deleted.
(_init_and_sync_container_runtime): Deleted.
(_stop_and_remove_container): Deleted.
(_create_container): Deleted.
(_ensure_container_ready): Deleted.
* Tools/glib/dependencies/apt:
* Tools/glib/dependencies/dnf:
* Tools/glib/dependencies/pacman:

Canonical link: https://commits.webkit.org/313275@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to