From patchwork Thu Jul 8 13:57:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 12365241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6A23C11F66 for ; Thu, 8 Jul 2021 13:57:17 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 690506141A for ; Thu, 8 Jul 2021 13:57:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 690506141A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aepfle.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.153144.282930 (Exim 4.92) (envelope-from ) id 1m1UWc-0002Gs-5H; Thu, 08 Jul 2021 13:57:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 153144.282930; Thu, 08 Jul 2021 13:57:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1m1UWc-0002Gl-2G; Thu, 08 Jul 2021 13:57:10 +0000 Received: by outflank-mailman (input) for mailman id 153144; Thu, 08 Jul 2021 13:57:09 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1m1UWb-0002Gd-2h for xen-devel@lists.xenproject.org; Thu, 08 Jul 2021 13:57:09 +0000 Received: from mo4-p00-ob.smtp.rzone.de (unknown [81.169.146.221]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 490ca520-40da-4b9f-9c72-899f7228d3d8; Thu, 08 Jul 2021 13:57:07 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 47.28.1 AUTH) with ESMTPSA id 30791cx68Dv5aiP (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 8 Jul 2021 15:57:05 +0200 (CEST) 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: 490ca520-40da-4b9f-9c72-899f7228d3d8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1625752626; s=strato-dkim-0002; d=aepfle.de; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=GIxhBhKx+asUMGqMeQnvVvWl5d6HJxeGX4Nv35+DEH8=; b=gucMe4OjTK3n4Dgw8QfoCDi96ZiLqjrsdwwy4+A5QHUnrFD65lglpJiJbRF0Aapf5r f11n9EHVnpbSScwRC+hlGdzt0zmAu8Cmq7fivq582rD1QzAxzCrXrpQ9KF0jPyASv/py vVYuESIp3bF550h3e4W2bX7I6IxfD9gN8tt5cqpckf+ElPDX8VI4e7ZFDPrknOrRWmU3 JhGwAbLWvtESipHOOKaY+DpYibh7VctJwx8mlnF1z+sS4h6dEwjUP8/vhX1cka+z9tyr PNfQck39agsj9LY0Ucsaxel8Xq17N8ex3Ybz1Tq9e6Popet/ibyVa5K13CqogXadgIO2 hVGg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzpIG0mv9coXAgs3rVb2Qcstn6hLmi/A5ONQi+eEunNNoWD5g0T8" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Cc: Olaf Hering , Doug Goldstein Subject: [PATCH v1] automation: use zypper dup in tumbleweed dockerfile Date: Thu, 8 Jul 2021 15:57:04 +0200 Message-Id: <20210708135704.25626-1-olaf@aepfle.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 The 'dup' command aligns the installed packages with the packages found in the enabled repositories, taking the repository priorities into account. Using this command is generally a safe thing to do. In the context of Tumbleweed using 'dup' is essential, because package versions might be downgraded, and package names occasionally change. Only 'dup' will do the correct thing in such cases. Signed-off-by: Olaf Hering Acked-by: Andrew Cooper --- automation/build/suse/opensuse-tumbleweed.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/build/suse/opensuse-tumbleweed.dockerfile b/automation/build/suse/opensuse-tumbleweed.dockerfile index a33ab0d870..3965e7f9cd 100644 --- a/automation/build/suse/opensuse-tumbleweed.dockerfile +++ b/automation/build/suse/opensuse-tumbleweed.dockerfile @@ -7,7 +7,7 @@ ENV USER root RUN mkdir /build WORKDIR /build -RUN zypper ref && zypper up -y --no-recommends +RUN zypper ref && zypper dup -y --no-recommends RUN zypper install -y --no-recommends \ acpica \ bc \