Bug 1717650 - Support RockyLinux 8.4. r=mhentges

Differential Revision: https://phabricator.services.mozilla.com/D118539
This commit is contained in:
Alexander J. Vincent 2021-06-22 20:34:13 +00:00
Родитель 2c7ff94a69
Коммит b12c2e5817
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -164,7 +164,7 @@ class Bootstrapper(object):
full_distribution_name=False
)
if dist_id in ("centos", "fedora"):
if dist_id in ("centos", "fedora", "rocky"):
cls = CentOSFedoraBootstrapper
args["distro"] = dist_id
elif dist_id in DEBIAN_DISTROS:

Просмотреть файл

@ -42,7 +42,7 @@ class CentOSFedoraBootstrapper(LinuxBootstrapper, BaseBootstrapper):
"wget",
]
if self.distro in ("centos"):
if self.distro in ("centos", "rocky"):
self.group_packages += ["Development Tools"]
self.packages += ["curl-devel"]
@ -69,7 +69,7 @@ class CentOSFedoraBootstrapper(LinuxBootstrapper, BaseBootstrapper):
self.mobile_android_packages += ["ncurses-compat-libs"]
if self.distro in ("centos") and self.version == 8:
if self.distro in ("centos", "rocky") and self.version == 8:
self.packages += ["python3-devel"]
else:
self.packages += ["python-devel"]