Message ID | 20190801024643.11024-27-itsatharva@gmail.com |
---|---|
State | Accepted |
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.136; helo=silver.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="V/UBrzAh"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45zZTs4t9Nz9sMr for <incoming-buildroot@patchwork.ozlabs.org>; Thu, 1 Aug 2019 12:48:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 07E0D226CF; Thu, 1 Aug 2019 02:48:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dUNo2R-6gRJY; Thu, 1 Aug 2019 02:47:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4BE4D226D4; Thu, 1 Aug 2019 02:47:57 +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 AE0841BF59D for <buildroot@lists.busybox.net>; Thu, 1 Aug 2019 02:47:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AB4EC87EA0 for <buildroot@lists.busybox.net>; Thu, 1 Aug 2019 02:47:54 +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 k+CHzGoJApiY for <buildroot@lists.busybox.net>; Thu, 1 Aug 2019 02:47:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 27D9887E7A for <buildroot@buildroot.org>; Thu, 1 Aug 2019 02:47:54 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id d1so364460pgp.4 for <buildroot@buildroot.org>; Wed, 31 Jul 2019 19:47:54 -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=fH3RyXTiLu45+Y7g6upszF37w6Dsr+UHPGvum6frPTo=; b=V/UBrzAhi/EoMbDatZjsMC3MgdKAWZF6bLPhlXI8RD+b7oW4Cl09eJGHNf09pC/ZQG s63nrz0tdt5bp2tf4LEUQPfUoZya5zWVy6AnSf6cgi5fGqOC9zvu+mDEIGdurIK5O/+2 kp6MQ4tN3O8o7EnCweB6iLulKjSfJoqEEEZFsESnbh4ur7/ujfuoHf5baHGJ4KQc/r7F R6XpJp4yhfVXtC7wHG4gNdvgnSBTaTp3G4N7QzPbcV/+gA1DxxPGXgvhEE129OQJOcXg KBR5iWQyBwZagMBZ73TreEIftPIHFc1fWPjBAXADS9HJb9vS/8RpqA4lOnTSUdXTmbJ5 +ZbA== 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=fH3RyXTiLu45+Y7g6upszF37w6Dsr+UHPGvum6frPTo=; b=WL+WfFX8JaP/nlvJO+q0p+k/woEAnp5MYMurO0iaAF/4ul5uGOBx1obVNpEwOlO/Zy /vngT+hm7GJwGeWslq4/HM1SU/nu5jFYpIXHeqtC6yQhhauCdwqgTJAZ6o4xBCXR9j3F r5s4uaMU6mtwkDw6kVzlzXEs8q41p/OkUfL+uG5gaRNTKPQciKOV5N71CQmX2FJ8cty6 acdf9ADhT7LHSvCkWw/ydO4Ogy9gvvDRLLuz4C0za5Dx+Z8frHtWQitEss6VWXIAmGWQ JLRMnqH8pFKSmBYDPCp1lBh29uGvAiIcz5Jr1V6jYxx3C9S0p3y+O0TVZEqh0Qf/Ka0d DR2Q== X-Gm-Message-State: APjAAAXIUdBNrU36lkbb33vrWmTUg0UDSaSua6roLYJtc0lRhD9+OZkx NJidW4vJ3wNpx7De+2uEexfQu7NVcL0= X-Google-Smtp-Source: APXvYqwaSOeNwp3Dwf0vk9tG/R/BnMy9RkIziexB85FtpymoNX7DvDog6OWn5tuXagIp0VNfBqhXVA== X-Received: by 2002:a17:90a:ba93:: with SMTP id t19mr5883961pjr.139.1564627673385; Wed, 31 Jul 2019 19:47:53 -0700 (PDT) Received: from localhost.localdomain ([123.201.36.76]) by smtp.gmail.com with ESMTPSA id 185sm79857669pfa.170.2019.07.31.19.47.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 19:47:53 -0700 (PDT) From: Atharva Lele <itsatharva@gmail.com> To: buildroot@buildroot.org Date: Thu, 1 Aug 2019 08:16:39 +0530 Message-Id: <20190801024643.11024-27-itsatharva@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190801024643.11024-1-itsatharva@gmail.com> References: <20190801024643.11024-1-itsatharva@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 26/30] 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 |
builder-class series cover letter
|
expand
|
diff --git a/scripts/autobuild-run b/scripts/autobuild-run index 8f60e89..09dd520 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