mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add Raspbian GNU/Linux distro for mach bootstrap (#30223)
This commit is contained in:
parent
43d4d0103a
commit
cc4fe4981f
1 changed files with 2 additions and 1 deletions
|
@ -114,6 +114,7 @@ class Linux(Base):
|
||||||
'centos linux',
|
'centos linux',
|
||||||
'centos',
|
'centos',
|
||||||
'debian gnu/linux',
|
'debian gnu/linux',
|
||||||
|
'raspbian gnu/linux',
|
||||||
'fedora linux',
|
'fedora linux',
|
||||||
'fedora',
|
'fedora',
|
||||||
'nixos',
|
'nixos',
|
||||||
|
@ -141,7 +142,7 @@ class Linux(Base):
|
||||||
def install_non_gstreamer_dependencies(self, force: bool) -> bool:
|
def install_non_gstreamer_dependencies(self, force: bool) -> bool:
|
||||||
install = False
|
install = False
|
||||||
pkgs = []
|
pkgs = []
|
||||||
if self.distro in ['Ubuntu', 'Debian GNU/Linux']:
|
if self.distro in ['Ubuntu', 'Debian GNU/Linux', 'Raspbian GNU/Linux']:
|
||||||
command = ['apt-get', 'install']
|
command = ['apt-get', 'install']
|
||||||
pkgs = APT_PKGS
|
pkgs = APT_PKGS
|
||||||
if subprocess.call(['dpkg', '-s'] + pkgs,
|
if subprocess.call(['dpkg', '-s'] + pkgs,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue