1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00

add "rocky" as a known distro using rpm

Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/746

this allows us to use the preinstalled package on a "rocky" box
as the build dependencies.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>

X-link: https://github.com/facebook/folly/pull/1741

Reviewed By: dmm-fb

Differential Revision: D35348932

Pulled By: yfeldblum

fbshipit-source-id: 956cd6a7a8ddeffb090ef0c141feb5b946368e0d
This commit is contained in:
Kefu Chai
2024-04-12 17:31:35 -07:00
committed by Facebook GitHub Bot
parent e64f0d9425
commit 0b332c467e

View File

@@ -270,7 +270,7 @@ class HostType(object):
return None
if self.is_darwin():
return "homebrew"
if self.distro in ("fedora", "centos", "centos_stream"):
if self.distro in ("fedora", "centos", "centos_stream", "rocky"):
return "rpm"
if self.distro.startswith(("debian", "ubuntu", "pop!_os")):
return "deb"