aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-03-19 09:43:07 +0100
committerGitHub <noreply@github.com>2024-03-19 08:43:07 +0000
commit8cf47e6009a9b2e1f9e7f8639f83cc47c247877f (patch)
tree047b5083f96d4191ac51c1bf8b5b0b8f8040c962 /python/servo/platform
parent2a02f94d7649d45f09eff9f27263f20c10502ec8 (diff)
downloadservo-8cf47e6009a9b2e1f9e7f8639f83cc47c247877f.tar.gz
servo-8cf47e6009a9b2e1f9e7f8639f83cc47c247877f.zip
bootstrap: Make unknown distro instructions more helpful (#31750)
It doesn't make sense to ask everyone to file a bug if their distribution is unsupported. We have manual build instructions for some distributions and we can add instructions for more easily.
Diffstat (limited to 'python/servo/platform')
-rw-r--r--python/servo/platform/linux.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/servo/platform/linux.py b/python/servo/platform/linux.py
index d954869c8dd..58cc7813bd6 100644
--- a/python/servo/platform/linux.py
+++ b/python/servo/platform/linux.py
@@ -146,8 +146,9 @@ class Linux(Base):
'void',
'fedora linux asahi remix'
]:
- raise NotImplementedError("mach bootstrap does not support "
- f"{self.distro}, please file a bug")
+ raise NotImplementedError(f"mach bootstrap does not support {self.distro}."
+ " You may be able to install dependencies manually."
+ " See https://github.com/servo/servo/wiki/Building.")
installed_something = self.install_non_gstreamer_dependencies(force)
return installed_something