From nobody Mon May 6 08:08:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1621356179; cv=none; d=zohomail.com; s=zohoarc; b=IRfz5HBbWULe9eDWgf6RnfUN4kfPpvjkS+yhHVeV8bd85iJqMTg2cEUeaLk+JHqFcPXeFX9btVVv7/0UhfeAYmGgmJ7oUfajHg/2pj1OcJoGmNk6SQgTkdrjlH3wxKv58S5Uthw+H9kSCYLg7InGmY/OGwu5MpWyv61SksKLRDY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621356179; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=yoL84o6smbYpcuGm8W7AhLmby+UbYQ66wf/eTVj8DXo=; b=adbitIu/iPSDzyjwRyqbjKyOkml68+jb+jc1KoUOoZuyMJAicQ7y/xBIPKy0m4B5/sgbbzVVIG3w+vGkR/05bP5WgyxfwLnK6kLhqtW/XXV5I/0Y7fMh1GarM8Kl3UJZEBNYVe2XOEMTcYDhGSv9vYqObn4pJrweEsoCkSaGTa4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1621356179853769.2693462960225; Tue, 18 May 2021 09:42:59 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.129457.242990 (Exim 4.92) (envelope-from ) id 1lj2nq-0005Mq-6g; Tue, 18 May 2021 16:42:42 +0000 Received: by outflank-mailman (output) from mailman id 129457.242990; Tue, 18 May 2021 16:42:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lj2nq-0005Mj-3A; Tue, 18 May 2021 16:42:42 +0000 Received: by outflank-mailman (input) for mailman id 129457; Tue, 18 May 2021 16:42:41 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lj2np-0005MN-H6 for xen-devel@lists.xenproject.org; Tue, 18 May 2021 16:42:41 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 85f1c055-f329-43d9-81f6-06d9b7c2226a; Tue, 18 May 2021 16:42:40 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 244E8AEA8; Tue, 18 May 2021 16:42:40 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 85f1c055-f329-43d9-81f6-06d9b7c2226a X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621356160; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yoL84o6smbYpcuGm8W7AhLmby+UbYQ66wf/eTVj8DXo=; b=IjHtJqvEmLTSax8FqNaEk2E5FA38npg4/KtL8yqaSTXffAivemIpLb701s0pHjbASHZIAh J4m3t8HowHBRl5eoB1k+88XOhitvrBR9vNypHFimZRI5M/2sbpwnHqxYPwr8JWLc9aJrSO aJQk7OO55aXuiNO6POtWCdOj08BmCXM= Subject: [PATCH v2 1/2] automation: use DOCKER_CMD for building containers too From: Dario Faggioli To: xen-devel@lists.xenproject.org Cc: =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Doug Goldstein , Andrew Cooper Date: Tue, 18 May 2021 18:42:39 +0200 Message-ID: <162135615931.20014.4296434793748937843.stgit@Wayrath> In-Reply-To: <162135593827.20014.14959979363028895972.stgit@Wayrath> References: <162135593827.20014.14959979363028895972.stgit@Wayrath> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Use DOCKER_CMD from the environment (if defined) in the containers' makefile too, so that, e.g., when doing `export DOCKED_CMD=3Dpodman` podman is used for building the containers too. Signed-off-by: Dario Faggioli Acked-by: Roger Pau Monn=C3=A9 --- Cc: Doug Goldstein Cc: Andrew Cooper --- Changes from v1: - fix my email address in From: --- automation/build/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automation/build/Makefile b/automation/build/Makefile index 7c7612b1d9..a4b2b85178 100644 --- a/automation/build/Makefile +++ b/automation/build/Makefile @@ -2,6 +2,7 @@ # the base of where these containers will appear REGISTRY :=3D registry.gitlab.com/xen-project/xen CONTAINERS =3D $(subst .dockerfile,,$(wildcard */*.dockerfile)) +DOCKER_CMD ?=3D docker =20 help: @echo "Builds containers for building Xen based on different distros" @@ -10,9 +11,9 @@ help: @echo "To push container builds, set the env var PUSH" =20 %: %.dockerfile ## Builds containers - docker build -t $(REGISTRY)/$(@D):$(@F) -f $< $( (p=quarantine dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1621356181265883.1978781170128; Tue, 18 May 2021 09:43:01 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.129458.243000 (Exim 4.92) (envelope-from ) id 1lj2nw-0005ip-Fv; Tue, 18 May 2021 16:42:48 +0000 Received: by outflank-mailman (output) from mailman id 129458.243000; Tue, 18 May 2021 16:42:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lj2nw-0005ig-CY; Tue, 18 May 2021 16:42:48 +0000 Received: by outflank-mailman (input) for mailman id 129458; Tue, 18 May 2021 16:42:47 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lj2nv-0005hb-AW for xen-devel@lists.xenproject.org; Tue, 18 May 2021 16:42:47 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id f6c45aca-585c-4d7f-aa04-754eed64d00e; Tue, 18 May 2021 16:42:46 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E9097AEA8; Tue, 18 May 2021 16:42:45 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f6c45aca-585c-4d7f-aa04-754eed64d00e X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621356166; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jrX1NYllNsPfXSj7P+2XpQsI01YhtHcN3zywj7DDQY0=; b=XOQWxcqny7KFdAde0u7OR5RQmOGNifs9GFRadBftJy1ZgbBL5mfceh+reqZ2XnqG9jX57b 8eM/7EyZWI8pNKJGQqrLsPVUcrjlupUl1lkNEH/ExZVUyZYnsuHEN4eGM9mVVSiXe24gpM +aIVEOzyxQLjEBen45A0E/0jSWFAK1E= Subject: [PATCH v2 2/2] automation: fix dependencies on openSUSE Tumbleweed containers From: Dario Faggioli To: xen-devel@lists.xenproject.org Cc: Doug Goldstein , Roger Pau Monne , Andrew Cooper Date: Tue, 18 May 2021 18:42:45 +0200 Message-ID: <162135616513.20014.6303562342690753615.stgit@Wayrath> In-Reply-To: <162135593827.20014.14959979363028895972.stgit@Wayrath> References: <162135593827.20014.14959979363028895972.stgit@Wayrath> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) Fix the build inside our openSUSE Tumbleweed container by using adding libzstd headers. While there, remove the explicit dependency for python and python3 as the respective -devel packages will pull them in anyway. Signed-off-by: Dario Faggioli --- Cc: Doug Goldstein Cc: Roger Pau Monne Cc: Andrew Cooper --- Changes from v1: - fix my email address in From: - don't request python38-devel explicitly, python3-devel is just fine and is more generic (and hence better!) --- .../build/suse/opensuse-tumbleweed.dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/automation/build/suse/opensuse-tumbleweed.dockerfile b/automat= ion/build/suse/opensuse-tumbleweed.dockerfile index 8ff7b9b5ce..a33ab0d870 100644 --- a/automation/build/suse/opensuse-tumbleweed.dockerfile +++ b/automation/build/suse/opensuse-tumbleweed.dockerfile @@ -45,6 +45,7 @@ RUN zypper install -y --no-recommends \ libtasn1-devel \ libuuid-devel \ libyajl-devel \ + libzstd-devel \ lzo-devel \ make \ nasm \ @@ -56,9 +57,7 @@ RUN zypper install -y --no-recommends \ pandoc \ patch \ pkg-config \ - python \ python-devel \ - python3 \ python3-devel \ systemd-devel \ tar \