Set the copy output correctly when handling part.include_path in order
for the debug log line to correctly show the copied files.
Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
for paths in part.include_path or []:
for path in paths:
cp_cmd = "cp -v -p -r %s %s/" % (path, hdddir)
- exec_cmd(cp_cmd, True)
+ out = exec_cmd(cp_cmd, True)
logger.debug("include_path files:\n%s" % out)
du_cmd = "du -bks %s" % hdddir