Skip to content

Commit 25f533f

Browse files
[windows] Remove Msys2 checksum verification (#12884)
1 parent 2673a30 commit 25f533f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

images/windows/scripts/build/Install-Msys2.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ function Install-Msys2 {
2222
Write-Host "Download msys2 installer $installerName"
2323
$installerPath = Invoke-DownloadWithRetry $downloadUri
2424

25-
#region Supply chain security - MSYS2
26-
$externalHash = Get-ChecksumFromUrl -Type "SHA256" `
27-
-Url ($downloadUri -replace $installerName, "msys2-checksums.txt") `
28-
-FileName $installerName
29-
Test-FileChecksum $installerPath -ExpectedSHA256Sum $externalHash
30-
#endregion
31-
3225
Write-Host "Starting msys2 installation"
3326
& $installerPath in --confirm-command --accept-messages --root C:/msys64
3427
if ($LastExitCode -ne 0) {

0 commit comments

Comments
 (0)