From nobody Sat Nov 30 00:57:58 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=1621339473; cv=none; d=zohomail.com; s=zohoarc; b=Occ1KaSr3yiZRGHC2cKDziOgfXGs+xTMQLvNdlrS7CQHTUeeiBdtEIE5xpWa2Je/+oeAWpgPgUHlQmb2qJQmJZPuVQ/cdygwHAljSo6AqJ7Y7syMDoAjBbQqg6knTt70EuZVOaLD75NQzkmm1OavAOI4qu848V3XYxY0xWDVFHI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621339473; 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=ShVArUyOIEVD2D6Itz0h2kIqNU7o0HPqwOJHjk14MSo=; b=KRp76GuNBl/YmBogp11zW6ftlAS8OXSOVGsBjqt3ro5wKbXtfMW2qE2WcuAKQsIZ9cQ3hGXVVaMw5jafzQKkS6SUnDcajK5fuwM6OSIusbrnIiMxGRCf/qFT6ACALgzpf6kMmMZkr0QWaiTj1C7PzdPlnWLeG//IcLJuXYQTzEw= 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 1621339473648600.6921702067546; Tue, 18 May 2021 05:04:33 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.129126.242401 (Exim 4.92) (envelope-from ) id 1liySJ-0006KZ-LH; Tue, 18 May 2021 12:04:11 +0000 Received: by outflank-mailman (output) from mailman id 129126.242401; Tue, 18 May 2021 12:04:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1liySJ-0006KS-ID; Tue, 18 May 2021 12:04:11 +0000 Received: by outflank-mailman (input) for mailman id 129126; Tue, 18 May 2021 12:04:10 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1liySH-00061r-Th for xen-devel@lists.xenproject.org; Tue, 18 May 2021 12:04:09 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e2bf2292-acc3-4494-8e46-f23a1392c8d4; Tue, 18 May 2021 12:04:09 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5D168AE4D; Tue, 18 May 2021 12:04:08 +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: e2bf2292-acc3-4494-8e46-f23a1392c8d4 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=1621339448; 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=ShVArUyOIEVD2D6Itz0h2kIqNU7o0HPqwOJHjk14MSo=; b=cBfB0klVUc0lnpdiDqIF2AlRDRju4JYcXjkVCwdwexwjHvWWjW/nQqUoBtEcQOqdCOB928 KYG9P+k+5oO3fI5DEYtE9YQp0Wxu9CNQp8Zy5L2XG07GkTcsOSc5NBBIIMZiuUmKvWHvE5 HnkA+qAbwWkGZTSHhFEMpal6L0z04hk= Subject: [PATCH 1/2] automation: use DOCKER_CMD for building containers too From: Dario Faggioli To: xen-devel@lists.xenproject.org Cc: Doug Goldstein , Roger Pau Monne , Andrew Cooper Date: Tue, 18 May 2021 14:04:07 +0200 Message-ID: <162133944760.25010.12549941575201320853.stgit@Wayrath> In-Reply-To: <162133919718.25010.4197057069904956422.stgit@Wayrath> References: <162133919718.25010.4197057069904956422.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) From: Dario Faggioli 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: Roger Pau Monne Cc: Andrew Cooper --- 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 $< $(