From patchwork Thu Sep 10 20:02:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Spooren X-Patchwork-Id: 1361943 X-Patchwork-Delegate: mail@aparcar.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.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; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=ueR/6tot; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 4BnVJJ1GwBz9sVC for ; Fri, 11 Sep 2020 06:06:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=y2YeQv1X0lpM4VyxtrdBeywC3Bso5nOXW9BPJucPMpE=; b=ueR/6totSm+L0ZnhD2xZFhJVfr LjSYGzsq+oYt1dzv/6M4aLFBxg38u7w9bH8jlr+nhp2Xi3k1hUXxl/c6Qu0fGXJ/L+dCHLSPluzZq nGoWqAnaA2oqr4uC8982+4htCEFVWFI6h9vWbb0879iSx0PoWOovYsZSpeX8bxUfi6iHVCK3M0cL6 eCm0YgUdX9lILzJWS82Ntixh4NXfDofBEzU6fMi0h7e0zK3qlFRBOcpIzyZnCQzoCt5q5meqstPkF wl+PznpXuUadJn5upYhqYT4nRQrOB2AgSVUofboS+6L77uMikFSY6zt506jhF9DP9TFzB0t8GCCYZ 3+sJ5ahg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGSn7-0001RY-JF; Thu, 10 Sep 2020 20:03:33 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGSn3-0001R8-Re for openwrt-devel@lists.openwrt.org; Thu, 10 Sep 2020 20:03:31 +0000 X-Originating-IP: 72.234.141.215 Received: from dawn.lan (udp224251uds.hawaiiantel.net [72.234.141.215]) (Authenticated sender: mail@aparcar.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 9240C1BF208; Thu, 10 Sep 2020 20:03:21 +0000 (UTC) From: Paul Spooren To: openwrt-devel@lists.openwrt.org Subject: [PATCH] build: create rootfs.tar.xz if BUILDBOT Date: Thu, 10 Sep 2020 10:02:39 -1000 Message-Id: <20200910200239.456129-1-mail@aparcar.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_160330_003200_AFA9D491 X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.201 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.201 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Spooren Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The rootfs.tar.gz is used to create Docker containers containing the OpenWrt root filesystem. These containers are currently only available for x84/64 and armvirt/{32,64}. For CI package runtime testing more rootfs containers would allow additional tests. After CI building a changed package for multiple packages, QEMU is used inside another CI step run run OpenWrt rootfs containers in multiple architectures, install the create package and execute a runtime test. Signed-off-by: Paul Spooren --- This change would allow additional runtime tests for this PoC: https://github.com/openwrt/packages/pull/13315 config/Config-images.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Config-images.in b/config/Config-images.in index 7d56d70908..f2eb237d0d 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -70,7 +70,7 @@ menu "Target Images" config TARGET_ROOTFS_TARGZ bool "tar.gz" - default y if USES_TARGZ + default y if USES_TARGZ || BUILDBOT help Build a compressed tar archive of the root filesystem.