aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform/linux.py
diff options
context:
space:
mode:
authorManuel Rego Casasnovas <rego@igalia.com>2023-08-28 13:13:25 +0200
committerGitHub <noreply@github.com>2023-08-28 11:13:25 +0000
commitcc4fe4981f5354835ef6c5fba24b31a031451bbd (patch)
treeb83213c00b3eae4e716e5a6c98de8b34f0527671 /python/servo/platform/linux.py
parent43d4d0103a6d8617cb3659a807c6390bfe2f5ade (diff)
downloadservo-cc4fe4981f5354835ef6c5fba24b31a031451bbd.tar.gz
servo-cc4fe4981f5354835ef6c5fba24b31a031451bbd.zip
Add Raspbian GNU/Linux distro for mach bootstrap (#30223)
Diffstat (limited to 'python/servo/platform/linux.py')
-rw-r--r--python/servo/platform/linux.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/platform/linux.py b/python/servo/platform/linux.py
index a5d0ea6bce2..34ed8984759 100644
--- a/python/servo/platform/linux.py
+++ b/python/servo/platform/linux.py
@@ -114,6 +114,7 @@ class Linux(Base):
'centos linux',
'centos',
'debian gnu/linux',
+ 'raspbian gnu/linux',
'fedora linux',
'fedora',
'nixos',
@@ -141,7 +142,7 @@ class Linux(Base):
def install_non_gstreamer_dependencies(self, force: bool) -> bool:
install = False
pkgs = []
- if self.distro in ['Ubuntu', 'Debian GNU/Linux']:
+ if self.distro in ['Ubuntu', 'Debian GNU/Linux', 'Raspbian GNU/Linux']:
command = ['apt-get', 'install']
pkgs = APT_PKGS
if subprocess.call(['dpkg', '-s'] + pkgs,