diff mbox series

[v2,9/9] devtool: deploy: remove dead files_list computation

Message ID 20260907063720.56742-10-adrian.freihofer@siemens.com
State Under Review
Headers show
Series devtool: ide-sdk: bug fixes, do_install-through-bitbake, NFS deploy prep | expand

Commit Message

AdrianF Sept. 7, 2026, 6:36 a.m. UTC
From: Adrian Freihofer <adrian.freihofer@siemens.com>

deploy_no_d() built a files_list from os.walk(recipe_outdir) after a
successful deploy but never used it. It fed a host-side manifest file
written via open(deploy_file, 'w') until commit a16a0c9334b7
("devtool: deploy-target: write deployed files list to target",
2016-02-19), which moved manifest writing to the target's shell script
and dropped that write, leaving the list-building loop as dead code
ever since.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 scripts/lib/devtool/deploy.py | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 7a83d4a23a..51a1944f38 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -431,12 +431,6 @@  def deploy_no_d(srcdir, workdir, path, strip_cmd, libdir, base_libdir, max_proce
 
     logger.info('Successfully deployed %s' % recipe_outdir)
 
-    files_list = []
-    for root, _, files in os.walk(recipe_outdir):
-        for filename in files:
-            filename = os.path.relpath(os.path.join(root, filename), recipe_outdir)
-            files_list.append(os.path.join(destdir, filename))
-
     return 0
 
 def undeploy(args, config, basepath, workspace):