Changeset 246637 in webkit
- Timestamp:
- Jun 20, 2019, 10:04:19 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/conf/flatpak-httpd.conf (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Scripts/webkitpy/port/base.py (modified) (2 diffs)
-
Tools/flatpak/flatpakutils.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246636 r246637 1 2019-06-20 Alexander Mikhaylenko <exalm7659@gmail.com> 2 3 [GTK] HTTP layout tests don't run in flatpak 4 https://bugs.webkit.org/show_bug.cgi?id=199067 5 6 Reviewed by Michael Catanzaro. 7 8 Set PERL5LIB environment variable in Apache config. 9 10 * http/conf/flatpak-httpd.conf: 11 1 12 2019-06-18 Darin Adler <darin@apple.com> 2 13 -
trunk/LayoutTests/http/conf/flatpak-httpd.conf
r233362 r246637 34 34 LoadModule php7_module modules/libphp7.so 35 35 LoadModule asis_module modules/mod_asis.so 36 LoadModule env_module modules/mod_env.so 37 38 SetEnv PERL5LIB /app/lib/perl 36 39 37 40 ServerName 127.0.0.1 -
trunk/Tools/ChangeLog
r246636 r246637 1 2019-06-20 Alexander Mikhaylenko <exalm7659@gmail.com> 2 3 [GTK] HTTP layout tests don't run in flatpak 4 https://bugs.webkit.org/show_bug.cgi?id=199067 5 6 Reviewed by Michael Catanzaro. 7 8 Stop bind mounting /app/lib/perl to /etc/perl because Perl doesn't actually 9 check that path. Instead, add /app/lib/perl to Apache config directly. 10 11 /usr/manifest.json file is not guaranteed to exist in sandbox, check for 12 /.flatpak-info instead. 13 14 * Scripts/webkitpy/port/base.py: 15 (Port._is_flatpak): 16 (Port._in_flatpak_sandbox): 17 * flatpak/flatpakutils.py: 18 (WebkitFlatpak.run_in_sandbox): 19 (is_sandboxed): 20 1 21 2019-06-18 Darin Adler <darin@apple.com> 2 22 -
trunk/Tools/Scripts/webkitpy/port/base.py
r246221 r246637 1272 1272 1273 1273 def _is_flatpak(self): 1274 return self._filesystem.exists('/ usr/manifest.json')1274 return self._filesystem.exists('/.flatpak-info') 1275 1275 1276 1276 def _apache_version(self): … … 1466 1466 1467 1467 def _in_flatpak_sandbox(self): 1468 return os.path.exists("/ usr/manifest.json")1468 return os.path.exists("/.flatpak-info") 1469 1469 1470 1470 def _should_use_jhbuild(self): -
trunk/Tools/flatpak/flatpakutils.py
r245172 r246637 738 738 # Workaround for https://webkit.org/b/187384 to have our own perl modules usable inside the sandbox 739 739 # as setting the PERL5LIB envvar won't work inside apache (and for scripts using `perl -T``). 740 "--bind-mount=/etc/perl=%s" % os.path.join(self.flatpak_build_path, "files/lib/perl"),741 740 "--bind-mount=/run/host/%s=%s" % (tempfile.gettempdir(), tempfile.gettempdir()), 742 741 "--bind-mount=%s=%s" % (self.sandbox_source_root, self.source_root), … … 958 957 959 958 def is_sandboxed(): 960 return os.path.exists("/ usr/manifest.json")959 return os.path.exists("/.flatpak-info") 961 960 962 961
Note:
See TracChangeset
for help on using the changeset viewer.