Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BED00E00BE3; Tue, 3 Jun 2014 18:03:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (lynncyrin[at]gmail.com) * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.192.171 listed in list.dnswl.org] Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C27D6E00B5C for ; Tue, 3 Jun 2014 18:03:49 -0700 (PDT) Received: by mail-pd0-f171.google.com with SMTP id y13so5353359pdi.16 for ; Tue, 03 Jun 2014 18:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=RZmtt0atKBy3s8yuHAqBWYIFppZJdLaq/R7Ajgcsl9Q=; b=pN7jOc535KOjmxTdRj+W9/z19RLFaaQEqD5RKsfdJt1JPOUkGKuIsRdBZ8adbFhuUB AbFG+O7MnFikDXsZJ3iwS530S2YU5Zg7L/5zmTK+Wo/rJSRdA7NYrUBamayG7tlEnEJ/ Wlc2JjHbyroXxgJiZBVUgB6Wo9SZcku/etW52Ar6qkLvjTes9ic0LJKfh+gjYSCHOp9l aTNzbPdHsjftqbKleaU0SxB/RdExdKjri3Rh1MtIxj7GVTqQNnzZzWXrcZzhdDmgACLY aZpBNzvIAMwmj2Ek16yD3oVYs9242P7W5FtLKF/Da5QA0pl+bmxxHKf047BjOBNIPgvi tKjQ== X-Received: by 10.68.201.10 with SMTP id jw10mr56492289pbc.25.1401843829254; Tue, 03 Jun 2014 18:03:49 -0700 (PDT) Received: from localhost.localdomain (mobile-166-137-177-174.mycingular.net. [166.137.177.174]) by mx.google.com with ESMTPSA id oz7sm2794992pbc.41.2014.06.03.18.03.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 18:03:48 -0700 (PDT) Sender: Lynn Cyrin From: Lynn 'Cyrin' Conway To: yocto@yoctoproject.org Date: Tue, 3 Jun 2014 18:03:41 -0700 Message-Id: <1401843822-13967-2-git-send-email-lynncyrin@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401843822-13967-1-git-send-email-lynncyrin@gmail.com> References: <1401843822-13967-1-git-send-email-lynncyrin@gmail.com> Subject: [PATCH 2/3] MakeImageMD5s: delete file X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 01:03:59 -0000 REF: Bug ID 6354 The functionality of MakeImageMDs is being moved into PublishArtifacts. Since MakeImageMD5s is no longer needed, this commit deletes it. Signed-off-by: Lynn 'Cyrin' Conway --- .../autobuilder/buildsteps/MakeImageMD5s.py | 42 -------------------- 1 file changed, 42 deletions(-) delete mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py b/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py deleted file mode 100644 index 84839fb..0000000 --- a/lib/python2.7/site-packages/autobuilder/buildsteps/MakeImageMD5s.py +++ /dev/null @@ -1,42 +0,0 @@ -''' -Created on May 5, 2014 - -__author__ = "Elizabeth 'pidge' Flanagan" -__copyright__ = "Copyright 2012-2014, Intel Corp." -__credits__ = ["Elizabeth Flanagan"] -__license__ = "GPL" -__version__ = "2.0" -__maintainer__ = "Elizabeth Flanagan" -__email__ = "elizabeth.flanagan@intel.com" -''' - -from buildbot.steps.shell import ShellCommand -from twisted.python import log -import os, datetime -from autobuilder.config import * - -class MakeImageMD5s(ShellCommand): - haltOnFailure = False - flunkOnFailure = True - name = "Make Image MD5s" - def __init__(self, factory, argdict=None, **kwargs): - self.factory = factory - self.description = "Making image md5sum file" - self.slavedir=os.path.join(os.path.join(YOCTO_ABBASE, "yocto-slave")) - for k, v in argdict.iteritems(): - setattr(self, k, v) - self.timeout = 100000 - kwargs['timeout']=self.timeout - ShellCommand.__init__(self, **kwargs) - - def start(self): - DEST=self.getProperty("DEST") - buildername=self.getProperty("buildername") - command="" - if str(os.environ.get('PUBLISH_BUILDS')) == "True": - command = command + "for x in `find build/tmp/deploy/images -type f`; do " - command = command + "filenm=`basename $x`; md5sum $x >> $filenm.md5sum; done" - else: - command="echo 'Not publishing build, skipping step'" - self.command = command - ShellCommand.start(self) -- 1.7.9.5