From e1dc78a2a56d753b0390d536a30d47a1bb18f735 Mon Sep 17 00:00:00 2001 From: Kevin Yakar Date: Wed, 23 Apr 2025 12:53:51 -0700 Subject: [PATCH] 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 --- build/fbcode_builder/getdeps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 968d3a41c..5b3a31d1e 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -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: