Message ID | 20190703183159.3415-27-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="qA/VMEb9"; 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 45f8qz6pdRz9sLt for <incoming-buildroot@patchwork.ozlabs.org>; Thu, 4 Jul 2019 04:33:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7D58186C02; Wed, 3 Jul 2019 18:33:17 +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 SplGZZnnQMjg; Wed, 3 Jul 2019 18:33:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E7F8386CB4; Wed, 3 Jul 2019 18:33:14 +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 D0A031BF3CB for <buildroot@lists.busybox.net>; Wed, 3 Jul 2019 18:33:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CDCF787C8C for <buildroot@lists.busybox.net>; Wed, 3 Jul 2019 18:33:12 +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 PLh3kXzVwPbx for <buildroot@lists.busybox.net>; Wed, 3 Jul 2019 18:33:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id 67F0687568 for <buildroot@buildroot.org>; Wed, 3 Jul 2019 18:33:12 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id k8so1697131plt.3 for <buildroot@buildroot.org>; Wed, 03 Jul 2019 11:33:12 -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=kjmTM6PYanmst6nUlDySwL469BzCOxDAm97Zuutpm+Q=; b=qA/VMEb9Vz1gnHJV6At7uzFoBo2OaJdHJ6x6E+PKBQScGDSVK09D+5I9jKYlj7Rax/ AToj+iDKgTZXebqTfblX8821OegHsEF5kzNj46P0QbPYvlowqOerRQy7hYMBpwPyBrrq w+8neMB+Ia8nM/hfNx+It8OkqASLG+3pV3VnF+xk3E/R9bKHt9tLGOHZlJP+KSSy2Owx myFYmjKdE7k+NOlcsmqh0LORbj+w1dIaJpDDcHewwgjbBdMGrW67rQaSx45+Zi230Fwc Bh/bgihWFVb8uJRD6e83lnTb/GJhl0svgVIJPTFR6rVOr7aqWxLyyzK/Wn5ukgzjBalr 32vQ== 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=kjmTM6PYanmst6nUlDySwL469BzCOxDAm97Zuutpm+Q=; b=uGQmi9yM+wpm01wWohc7mtNr+YuX0mCCODaC1wgMm7fqB54fLiVdAPnNKdtRCf1sYY whwTmeF0ke06x6bqhl0y50xtW2SOUJZODX1+AyP8/olRBmbmEOpp3V8nsvSdHD3mJH0c CgiTBIqLDGdhvtPRBAeKkutjJPdKQ2VTQtWobIscjdShAr0AQB511h9vnXdBkmRU/VVw Rf6rp52qqLDkeH+ledt28Wv8uJb1YhkePPCKF7SrwzpYuoOcRlitJAgb2xF7Pm8Ht3L3 QQJ047Rx9Pe1l3qmfWDS9fEpU9Wyj/yGVqEMAsl0D3+FPZGxh/qhTOpotZCYSOw67S74 mPFQ== X-Gm-Message-State: APjAAAVYmPZDKj2NhV/MWSs4urvzYJWWQr9bbj/u4m/wuFs2hMmFPf5E N6CCoELy45GU0wbmIjz3c+qmuQlW5a8= X-Google-Smtp-Source: APXvYqw6PkyWQ4xBVvKIj3d9ebD/gzf+MDZ/d19rxJWC43dWczPhZrXVPd1IMYhTvek0UQl/1BPcIQ== X-Received: by 2002:a17:902:44e:: with SMTP id 72mr38995148ple.326.1562178791593; Wed, 03 Jul 2019 11:33:11 -0700 (PDT) Received: from localhost.localdomain ([123.201.36.115]) by smtp.gmail.com with ESMTPSA id 1sm3024927pfe.102.2019.07.03.11.33.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 11:33:11 -0700 (PDT) From: Atharva Lele <itsatharva@gmail.com> To: buildroot@buildroot.org Date: Thu, 4 Jul 2019 00:01:59 +0530 Message-Id: <20190703183159.3415-27-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190703183159.3415-1-itsatharva@gmail.com> References: <20190703183159.3415-1-itsatharva@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 27/27] scripts/autobuild-run: support changing repo 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 |
[v2,01/27] autobuild-run: introduce Builder class
|
expand
|
diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 3823d63..2062cff 100755 --- a/scripts/autobuild-run +++ b/scripts/autobuild-run @@ -361,12 +361,12 @@ class Builder: # Update the Buildroot sources. abssrcdir = os.path.abspath(self.srcdir) - ret = subprocess.call(["git", "fetch", "origin"], cwd=abssrcdir, stdout=self.log, stderr=self.log) + ret = subprocess.call(["git", "fetch", self.repo, branch], cwd=abssrcdir, stdout=self.log, stderr=self.log) if ret != 0: log_write(self.log, "ERROR: could not fetch Buildroot sources") return -1 - ret = subprocess.call(["git", "checkout", "--detach", "origin/%s" % branch], cwd=abssrcdir, stdout=self.log, stderr=self.log) + ret = subprocess.call(["git", "checkout", "FETCH_HEAD"], cwd=abssrcdir, stdout=self.log, stderr=self.log) if ret != 0: log_write(self.log, "ERROR: could not check out Buildroot sources") return -1