Skip to content

Commit f406258

Browse files
KevinYakarfacebook-github-bot
authored andcommitted
Dynamically determine and copy dependencies in package-fboss.py
Summary: X-link: facebook/fboss#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
1 parent cda4125 commit f406258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/fbcode_builder/getdeps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def run_project_cmd(self, args, loader, manifest):
436436
if manager == "rpm":
437437
packages = sorted(set(all_packages["rpm"]))
438438
if packages:
439-
cmd_args = ["sudo", "dnf", "install", "-y"] + packages
439+
cmd_args = ["sudo", "dnf", "install", "-y", "--skip-broken"] + packages
440440
elif manager == "deb":
441441
packages = sorted(set(all_packages["deb"]))
442442
if packages:

0 commit comments

Comments
 (0)