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:
committed by
Facebook GitHub Bot
parent
e64f0d9425
commit
0b332c467e
@@ -270,7 +270,7 @@ class HostType(object):
|
|||||||
return None
|
return None
|
||||||
if self.is_darwin():
|
if self.is_darwin():
|
||||||
return "homebrew"
|
return "homebrew"
|
||||||
if self.distro in ("fedora", "centos", "centos_stream"):
|
if self.distro in ("fedora", "centos", "centos_stream", "rocky"):
|
||||||
return "rpm"
|
return "rpm"
|
||||||
if self.distro.startswith(("debian", "ubuntu", "pop!_os")):
|
if self.distro.startswith(("debian", "ubuntu", "pop!_os")):
|
||||||
return "deb"
|
return "deb"
|
||||||
|
Reference in New Issue
Block a user