On Mon, Jun 9, 2014 at 11:51 AM, Lynn 'Cyrin' Conway <lynncy...@gmail.com> wrote: > REF: Bug ID 6354 > > Added a md5sums artifact into PublishArtifacts > > Also changed md5sums to generate in the > temp/deploy/images directory - (for real this time!!!) > > Signed-off-by: Lynn 'Cyrin' Conway <lynncy...@gmail.com> > --- > .../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..289d045 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 + "md5sum $x >> $x.md5sum; done" > elif artifact == "None": > command=command+"echo 'Skipping copy of " + artifact + > ".'" > else:
Yeah, this is a better way to do it as the deploy_image_dir changed between one major release and the other. We'll probably have to fix up the function that gets that directory to check if DEPLOY_DIR_IMAGE is set, but this should be ok in the meantime. > -- > 1.7.9.5 > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Elizabeth Flanagan Yocto Project Build and Release -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto