REF: Bug ID 6354 Added a md5sums artifact into PublishArtifacts
Signed-off-by: Lynn 'Cyrin' Conway <lynncy...@gmail.com> --- .../autobuilder/buildsteps/PublishArtifacts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py b/lib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py index db86ec2..bb69d18 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: @@ -216,7 +220,7 @@ class PublishArtifacts(ShellCommand): artifact_name = artifact_name + "-lsb" if self.layerversion_core is not None and int(self.layerversion_core) > 2: deploy_dir_image = os.path.join(os.path.join(self.basedir, "tmp/deploy/images/"), artifact) - else: + else:1 deploy_dir_image = os.path.join(self.basedir, "tmp/deploy/images/") return artifact_name, deploy_dir_image -- 1.7.9.5 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto