REF: Bug ID 6354 Added a md5sums artifact into PublishArtifacts
Also changed md5sums to generate in the temp/deploy/images directory Signed-off-by: Lynn 'Cyrin' Conway <[email protected]> --- .../autobuilder/buildsteps/PublishArtifacts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py b/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py index db86ec2..5995200 100644 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py @@ -180,6 +180,10 @@ class PublishArtifacts(ShellCommand): command=command+"cp -R --no-dereference " + \ os.path.join(self.basedir, "conf/") + \ "/* " + DEST + "/" + MACHINE_PUBLISH_DIR + "/" + artifact_name + "/conf;" + elif artifact == "md5sums": + artifact_name, deploy_image_dir = self.getDeployNames(artifact, buildername) + command = command + "for x in `find " + deploy_image_dir + " -type f`; do " + command = command + "filenm=`basename $x`; md5sum $x >> $filenm.md5sum; done" elif artifact == "None": command=command+"echo 'Skipping copy of " + artifact + ".'" else: -- 1.7.9.5 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
