diff options
author | Manuel Rego Casasnovas <rego@igalia.com> | 2023-08-28 13:13:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 11:13:25 +0000 |
commit | cc4fe4981f5354835ef6c5fba24b31a031451bbd (patch) | |
tree | b83213c00b3eae4e716e5a6c98de8b34f0527671 /python | |
parent | 43d4d0103a6d8617cb3659a807c6390bfe2f5ade (diff) | |
download | servo-cc4fe4981f5354835ef6c5fba24b31a031451bbd.tar.gz servo-cc4fe4981f5354835ef6c5fba24b31a031451bbd.zip |
Add Raspbian GNU/Linux distro for mach bootstrap (#30223)
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/platform/linux.py | 3 |
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, |