public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/4] azure: Use a login shell everywhere for MSYS2 build
@ 2020-07-28  9:06 Bin Meng
  2020-07-28  9:06 ` [PATCH 2/4] azure: Drop 32-bit " Bin Meng
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Bin Meng @ 2020-07-28  9:06 UTC (permalink / raw)
  To: u-boot

This simplifies things a bit to just use a login shell everywhere.

This keeps in sync with MSYS2 upstream commit:
9d11b7f0aa93 ("azure-pipelines: simplify things a bit").

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 .azure-pipelines.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 303857c..69aa69a 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -27,15 +27,12 @@ jobs:
           git clone https://github.com/msys2/$(BASE_REPO).git %CD:~0,2%\$(MSYS_DIR)
         displayName: 'Install MSYS2'
       - script: |
-          set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
-          %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm -Syyuu
+          %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
         displayName: 'Update MSYS2'
       - script: |
-          set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
-          %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm --needed -S make gcc bison diffutils openssl-devel
+          %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "pacman --noconfirm --needed -S make gcc bison diffutils openssl-devel"
         displayName: 'Install Toolchain'
       - script: |
-          set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
           echo make tools-only_defconfig tools-only NO_SDL=1 > build-tools.sh
           %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "bash build-tools.sh"
         displayName: 'Build Host Tools'
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-28 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-28  9:06 [PATCH 1/4] azure: Use a login shell everywhere for MSYS2 build Bin Meng
2020-07-28  9:06 ` [PATCH 2/4] azure: Drop 32-bit " Bin Meng
2020-07-28 15:53   ` Tom Rini
2020-07-28  9:06 ` [PATCH 3/4] azure: Add the missing build dependency for " Bin Meng
2020-07-28 15:53   ` Tom Rini
2020-07-28  9:06 ` [PATCH 4/4] azure: Switch to use the MSYS2 official installer as the CI base Bin Meng
2020-07-28 15:53   ` Tom Rini
2020-07-28 15:53 ` [PATCH 1/4] azure: Use a login shell everywhere for MSYS2 build Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox