Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCA0EC433F5 for ; Tue, 3 May 2022 12:30:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0C3480FF0; Tue, 3 May 2022 14:30:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 7035283439; Tue, 3 May 2022 14:30:23 +0200 (CEST) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72B8980541 for ; Tue, 3 May 2022 14:30:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f175.google.com with SMTP id o11so13131345qtp.13 for ; Tue, 03 May 2022 05:30:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=dvczK43hOuj+lI1LcsWV5cYqE60QKuj5INFKAeR1E+w=; b=o50zqu5MhBzITdV3nRZi5VA4riE6uzGFYSEL/hvEaNtuupkLIWz1GkTsaJpVVAc/0y 9tyzKSbL0PkmTfkOMlDgIDru+Nu2VQL2h9PszFywkDlNrEDzjtN0OYK66Yg2o4Pibtnc J6Dh6wNhzI/yHo52Eh2+9suX2cUkvPos8GOdlbex5/ane7Gy81+gU7aZHEOIw12eMFTk W8hnlH7ISWNPJpcAwEpMLabXsF/i1eq537XrS2PI0Qg/XbqlrSZhapIlhTTYu3uH2LAl VmM5fiRHQk/TU33aX5UlkAu9Nms+ia77sTO269jZTwiKhLxrWJUh1WcwM6b6Big9fyLo hzFQ== X-Gm-Message-State: AOAM531rqCKdlSP9qshiIIiTgWmhMThlIhCUY2s5at7sH5vPCowgt9jC x+VQTWbDn+XwWhx6ZHAa8EWhOz8n5w== X-Google-Smtp-Source: ABdhPJwJGXaSVzvAPMTUv7jAhDNyiBJRZd7kfkdBuvpxjzRhzGfc1ALLkup/dxx3xMpINn69Ic0npg== X-Received: by 2002:a05:622a:189c:b0:2f3:9dea:60a1 with SMTP id v28-20020a05622a189c00b002f39dea60a1mr12224083qtc.419.1651581017467; Tue, 03 May 2022 05:30:17 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-4500-c13d-5d13-479e-0b7c.res6.spectrum.com. [2603:6081:7b01:4500:c13d:5d13:479e:b7c]) by smtp.gmail.com with ESMTPSA id m184-20020a378ac1000000b0069fc13ce250sm5909905qkd.129.2022.05.03.05.30.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 05:30:17 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] CI: Azure: Rework how we update MSYS2 Date: Tue, 3 May 2022 08:30:14 -0400 Message-Id: <20220503123014.1112877-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index f9acb9898ea9..3f211b86e4b2 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -22,8 +22,9 @@ stages: displayName: 'Install MSYS2' - script: | sfx.exe -y -o%CD:~0,2%\ - %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu" - %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Su" + %CD:~0,2%\msys64\usr\bin\bash -lc " " + %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" + %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" displayName: 'Update MSYS2' - script: | %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel libgnutls-devel libutil-linux-devel" -- 2.25.1