diff options
author | arrynfr <136278316+arrynfr@users.noreply.github.com> | 2024-01-28 22:26:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 21:26:38 +0000 |
commit | 271176094d82654c4f471e5865d9f7be66dc937d (patch) | |
tree | 9fa6e2ce10a7910f018b759efc33a3e08617c850 /python/servo/platform | |
parent | b277795abe82ee8ca3d14dfd86f6de84c01ac0fb (diff) | |
download | servo-271176094d82654c4f471e5865d9f7be66dc937d.tar.gz servo-271176094d82654c4f471e5865d9f7be66dc937d.zip |
Update build script to support asahi linux (#31207)
Diffstat (limited to 'python/servo/platform')
-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 d6000badcd9..0e8cbb26a54 100644 --- a/python/servo/platform/linux.py +++ b/python/servo/platform/linux.py @@ -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: |