mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update build script to support asahi linux (#31207)
This commit is contained in:
parent
b277795abe
commit
271176094d
1 changed files with 2 additions and 1 deletions
|
@ -143,6 +143,7 @@ class Linux(Base):
|
|||
'nixos',
|
||||
'ubuntu',
|
||||
'void',
|
||||
'fedora linux asahi remix'
|
||||
]:
|
||||
raise NotImplementedError("mach bootstrap does not support "
|
||||
f"{self.distro}, please file a bug")
|
||||
|
@ -159,7 +160,7 @@ class Linux(Base):
|
|||
if subprocess.call(['dpkg', '-s'] + pkgs, shell=True,
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE) != 0:
|
||||
install = True
|
||||
elif self.distro in ['CentOS', 'CentOS Linux', 'Fedora', 'Fedora Linux']:
|
||||
elif self.distro in ['CentOS', 'CentOS Linux', 'Fedora', 'Fedora Linux', 'Fedora Linux Asahi Remix']:
|
||||
installed_pkgs = str(subprocess.check_output(['rpm', '-qa'])).replace('\n', '|')
|
||||
pkgs = DNF_PKGS
|
||||
for pkg in pkgs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue