1
0
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:
Kevin Yakar
2025-04-23 12:53:51 -07:00
committed by Facebook GitHub Bot
parent 422f97defe
commit e1dc78a2a5

View File

@@ -436,7 +436,7 @@ class InstallSysDepsCmd(ProjectCmdBase):
if manager == "rpm":
packages = sorted(set(all_packages["rpm"]))
if packages:
cmd_args = ["sudo", "dnf", "install", "-y"] + packages
cmd_args = ["sudo", "dnf", "install", "-y", "--skip-broken"] + packages
elif manager == "deb":
packages = sorted(set(all_packages["deb"]))
if packages: