From: Adrian Freihofer <[email protected]> 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 <[email protected]> --- scripts/lib/devtool/deploy.py | 6 ------ 1 file changed, 6 deletions(-) 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): -- 2.55.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#245236): https://lists.openembedded.org/g/openembedded-core/message/245236 Mute This Topic: https://lists.openembedded.org/mt/121125164/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
