From patchwork Sun Oct 13 21:00:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Spooren X-Patchwork-Id: 1175893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aparcar.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Cta5YLp+"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46rvHL4fgtz9sPK for ; Mon, 14 Oct 2019 08:01:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VwkrLMzytbbXoEQwR7WvlYm3uLvkLdx6q7WvTWMyOZ4=; b=Cta5YLp+21jJou rqDksJUkeYxlntynYKvmeXhOkCtpTLSE6bBwWukMm/PSU/HplRFYRDVCxOIhqLUc8GQpUfteGqceg ymRAQJudnUPK7V6oH1OEGDbP6PooPpOfarRbtiA7Y/ogFIve0vwAcqrHisEjD4GhlO1eHCBZXjHAJ gSVOnsyZRIPrMsvYrE1yDAp3MnfXUPXPO66ZoyflFMoW9LsE4iQPAUysptngFMSrWYvxB5tYjsLAm RMIZXnO3WmZxJytpHrkhQuaUm94U8a5SCeVJs3ULL2RhgEXSB0RCgYhBhBhiwQA3WxCZlJ/AlwlFz oqKmsYL8mMsPvg3CXvGg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJkz5-0006Tp-IY; Sun, 13 Oct 2019 21:00:59 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJkz2-0006T0-Cs for openwrt-devel@lists.openwrt.org; Sun, 13 Oct 2019 21:00:58 +0000 X-Originating-IP: 72.234.165.80 Received: from tb.home (udp050203uds.hawaiiantel.net [72.234.165.80]) (Authenticated sender: mail@aparcar.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id BCBCE40003; Sun, 13 Oct 2019 21:00:43 +0000 (UTC) From: Paul Spooren To: openwrt-devel@lists.openwrt.org Date: Sun, 13 Oct 2019 11:00:39 -1000 Message-Id: <20191013210039.14448-1-mail@aparcar.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191013_140056_573437_1FCBF34B X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.194 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record Subject: [OpenWrt-Devel] [PATCH] buildbot, phase1: use buildinfo instead of prepare X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Prepare target is used to compile tools and toolchain, however buildbot only uses it to create the buildinfo files. This[0] PR splits prepare and buildinfo allowing the buildbots to run the buildinfo creation only. This should also fix the current issue with missing json info files: prepare runs `target/compile` which removes all existing json info files via `Device/Build`. Only `target/install` creates them via `Device/Build/image`. However currently the buildbots run `target/install` before (the second) `target/compile`. [0]: https://github.com/openwrt/openwrt/pull/2492 Signed-off-by: Paul Spooren --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index f0151f6..0aaa079 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -920,7 +920,7 @@ for target in targets: factory.addStep(ShellCommand( name = "buildinfo", description = "Generating config.buildinfo, version.buildinfo and feeds.buildinfo", - command=["make", "-j1", "prepare", "V=s"], + command=["make", "-j1", "buildinfo", "V=s"], env = MakeEnv(), haltOnFailure = True ))