mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Dynamically determine and copy dependencies in package-fboss.py
Summary: X-link: https://github.com/facebook/fboss/pull/387 We want to copy libraries identified by ldd rather than the hardcoded mapping we have right now in package-fboss.py. These need to be packaged alongside the binaries as they are dynamically linked. Reviewed By: paulcruz74 Differential Revision: D72731449 fbshipit-source-id: 79748615b7b0970269a5663b17f2102c6f537ffa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
422f97defe
commit
e1dc78a2a5
@@ -436,7 +436,7 @@ class InstallSysDepsCmd(ProjectCmdBase):
|
|||||||
if manager == "rpm":
|
if manager == "rpm":
|
||||||
packages = sorted(set(all_packages["rpm"]))
|
packages = sorted(set(all_packages["rpm"]))
|
||||||
if packages:
|
if packages:
|
||||||
cmd_args = ["sudo", "dnf", "install", "-y"] + packages
|
cmd_args = ["sudo", "dnf", "install", "-y", "--skip-broken"] + packages
|
||||||
elif manager == "deb":
|
elif manager == "deb":
|
||||||
packages = sorted(set(all_packages["deb"]))
|
packages = sorted(set(all_packages["deb"]))
|
||||||
if packages:
|
if packages:
|
||||||
|
Reference in New Issue
Block a user