]> Git Repo - J-u-boot.git/commitdiff
CI: enforce packages upgrade for Msys2 on Windows
authorAKASHI Takahiro <[email protected]>
Wed, 9 Feb 2022 08:24:23 +0000 (17:24 +0900)
committerHeinrich Schuchardt <[email protected]>
Fri, 11 Feb 2022 19:07:55 +0000 (20:07 +0100)
We need to install libgnutls-devel package to build the host tool,
mkeficapsule, and as of now, there seems to be a depencency conflict
in the current msys2 installer;

   :: installing libp11-kit (0.24.1-1) breaks dependency \
'libp11-kit=0.23.22' required by p11-kit

To resolve this conflict, however, the initial "pacman -Syyuu" in
'tools_only_windows' job is not enough. Another "pacman -Su" will
enforce all the out-of-date packages being upgraded.
(Probably the first "-Syyuu" can be changed to "-Syu".)

See the installation steps in
  https://www.msys2.org/

Signed-off-by: AKASHI Takahiro <[email protected]>
.azure-pipelines.yml

index 81ab77e1345c952483eb516870cb461f79953297..b532abc2c3a182fbdfe38910b2613f5cd411c5ca 100644 (file)
@@ -23,6 +23,7 @@ stages:
       - 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"
         displayName: 'Update MSYS2'
       - script: |
           %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel"
This page took 0.039065 seconds and 4 git commands to generate.