Message ID | 20190707052831.9469-31-itsatharva@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ksoVDY/T"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45hHGh1J6Yz9s8m for <incoming-buildroot@patchwork.ozlabs.org>; Sun, 7 Jul 2019 15:30:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AA96585567; Sun, 7 Jul 2019 05:30:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BfA3pmqlqKmi; Sun, 7 Jul 2019 05:30:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 903BB85BBD; Sun, 7 Jul 2019 05:30:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 34EAC1BF5DD for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1EE1F8243D for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7CHBIHqDlbhh for <buildroot@lists.busybox.net>; Sun, 7 Jul 2019 05:30:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0F809859C9 for <buildroot@buildroot.org>; Sun, 7 Jul 2019 05:30:09 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id t132so6017956pgb.9 for <buildroot@buildroot.org>; Sat, 06 Jul 2019 22:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lSfEGvekgujksV7YgU7t3ILeHlMzktE5pGyjyeBgdMQ=; b=ksoVDY/TGPtfW4S0SW5GpzTblgQNndWc6Sui4bM7QNwe9njDdGdTj/7rlHlzM8JLl1 Bsv6Gg5srrF2RGQPIsIqdlImjQKlzl3+Gg36RLTbqStmrEftnnvFzTIcel6jadXWSVcb lhrQMMBIYLL8xwBK/rJnAePVItp08jK6MgoAln5obAPjnX3Mx4EDnZQWg/EWVuttmL3z i1hikkNL1jrvSB6Tc8Vy+NlfdOTbmSxDV8TZmHNIHCVqhiyJEcG2jDOPsAguQXUcdHFf Yr+XShEhsqrsQl8aI4bkfN9wW0jMZlubWgQyujYyYqHuVgCz90l2tDbPGmJCmb5sRYcK aPxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lSfEGvekgujksV7YgU7t3ILeHlMzktE5pGyjyeBgdMQ=; b=tWqxwOEkAWZSGy0f0e4uA4qxD7bZm3uTyABpeeRr6VQux240+dEbFPLDEfDxH220rB u2omc+01180DgxfQZ+ZdSaeB0OEFuIkBao00EiaGI66eqvtbGjiRF6+/JyOen6WxiSYF tia31vgH7+tYV8gFKUXUvLdtjDtHWUcsmVcMkI10b6A8JNf21pHDdlbdaGTKDo+Ci5FJ IVsxFWEHkVAbjwp3TVu4BJA98CoVQTX+Plve0H0oVNEf/O3meCRjg3BU4UkR3WGGXXk/ 31HAbhSbDUeaeE9RUYR+mU3hG5A/n0/PeNhpmArLbQsjwUR8taXc73PlOIwJQ/oYlDX1 jyYg== X-Gm-Message-State: APjAAAU1ReIiSydUnPSdO5Ab007B7xLelLT/Ixi58dhQtC9uscOXXK2N JWlU0BmMgmw3kZczNeLIrPV35q7OSO22Dg== X-Google-Smtp-Source: APXvYqxAEueRIkKXbuR+ex1KN5q7tgjRVdvj+iMG+DnyuaRBRXh9EnHVfjxcy6BqHlMtGS7x8CEj0A== X-Received: by 2002:a63:2148:: with SMTP id s8mr14132494pgm.336.1562477408248; Sat, 06 Jul 2019 22:30:08 -0700 (PDT) Received: from localhost.localdomain ([123.201.194.71]) by smtp.gmail.com with ESMTPSA id j24sm18039214pgg.86.2019.07.06.22.30.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 06 Jul 2019 22:30:07 -0700 (PDT) From: Atharva Lele <itsatharva@gmail.com> To: buildroot@buildroot.org Date: Sun, 7 Jul 2019 10:58:31 +0530 Message-Id: <20190707052831.9469-31-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190707052831.9469-1-itsatharva@gmail.com> References: <20190707052831.9469-1-itsatharva@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 31/31] autobuild-run: make prepare_build() clean the output directory used for reproducibility testing X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Atharva Lele <itsatharva@gmail.com>, yann.morin.1998@free.fr, thomas.petazzoni@bootlin.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[v3,01/31] autobuild-run: introduce Builder class
|
expand
|
diff --git a/scripts/autobuild-run b/scripts/autobuild-run index cdf013c..3156e9d 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -380,6 +380,10 @@ class Builder: # shutil.rmtree doesn't remove write-protected files subprocess.call(["rm", "-rf", self.outputdir]) os.mkdir(self.outputdir) + + # If it exists, remove the other output directory used for reproducibility testing + if os.path.exists(self.outputdir_1): + subprocess.call(["rm", "-rf", self.outputdir_1]) with open(os.path.join(self.outputdir, "branch"), "w") as branchf: branchf.write(branch)
Signed-off-by: Atharva Lele <itsatharva@gmail.com> --- scripts/autobuild-run | 4 ++++ 1 file changed, 4 insertions(+)