Changeset 258699 in webkit
- Timestamp:
- Mar 19, 2020 8:24:52 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r258698 r258699 1 2020-03-19 Philippe Normand <pnormand@igalia.com> 2 3 [Flatpak SDK] Release logs not sent to journald when running within the SDK runtime 4 https://bugs.webkit.org/show_bug.cgi?id=209223 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 flatpak build doesn't expose a --socket option for white-listing 9 the systemd journal socket. So white-list everything in /run. 🤷 10 11 * flatpak/flatpakutils.py: 12 (WebkitFlatpak.run_in_sandbox): 13 1 14 2020-03-19 Charlie Turner <cturner@igalia.com> 2 15 -
trunk/Tools/flatpak/flatpakutils.py
r258626 r258699 569 569 570 570 sandbox_build_path = os.path.join(self.sandbox_source_root, "WebKitBuild", self.build_type) 571 # FIXME: Using the `run` flatpak command would be better, but it doesn't 572 # have a --bind-mount option. 571 573 flatpak_command = ["flatpak", "build", 572 574 "--die-with-parent", … … 575 577 "--talk-name=org.gtk.vfs.*", 576 578 "--bind-mount=/run/shm=/dev/shm", 577 # Workaround for https://webkit.org/b/187384 to have our own perl modules usable inside the sandbox 578 # as setting the PERL5LIB envvar won't work inside apache (and for scripts using `perl -T``). 579 # Access to /run/host is required by the crash log reporter. 579 580 "--bind-mount=/run/host/%s=%s" % (tempfile.gettempdir(), tempfile.gettempdir()), 581 # flatpak build doesn't expose a --socket option for 582 # white-listing the systemd journal socket. So 583 # white-list it in /run, hoping this is the right 584 # path. 585 "--bind-mount=/run/systemd/journal=/run/systemd/journal", 580 586 "--bind-mount=%s=%s" % (self.sandbox_source_root, self.source_root), 581 587 # We mount WebKitBuild/PORTNAME/BuildType to /app/webkit/WebKitBuild/BuildType
Note: See TracChangeset
for help on using the changeset viewer.