mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
Fix
This commit is contained in:
parent
d8378cee31
commit
fc7ec34ca3
1 changed files with 6 additions and 3 deletions
|
@ -53,6 +53,8 @@ clone_script:
|
|||
Write-Host "[ OK ]" -ForegroundColor Green
|
||||
}
|
||||
|
||||
$env:wsl_installed = false
|
||||
|
||||
$WSLjob = Start-Job -Name WSLInstall -ScriptBlock {
|
||||
Function WSLExec($Text, $Cmd) {
|
||||
Write-Host "$Text"
|
||||
|
@ -68,6 +70,7 @@ clone_script:
|
|||
WSLExec "WSL install..." "sudo apt-get -y install --reinstall --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev qtbase5-dev cmake 1>/dev/null"
|
||||
WSLExec "WSL QT fix..." "sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5"
|
||||
Add-AppveyorMessage -Message "WSL setup took $(([System.Environment]::TickCount-$WSLInstallTime) / 1000) sec" -Category Information
|
||||
$env:wsl_installed = true
|
||||
}
|
||||
|
||||
$env:PSInstallTime=[System.Environment]::TickCount
|
||||
|
@ -235,9 +238,9 @@ build_script:
|
|||
}
|
||||
|
||||
#WSL: wait for installation to finish
|
||||
Receive-Job -Wait -Name WSLInstall -ErrorAction SilentlyContinue
|
||||
|
||||
Add-AppveyorMessage -Message "WSL start" -Category Information
|
||||
while(!$env:wsl_installed) {
|
||||
Start-Sleep -s 5
|
||||
}
|
||||
|
||||
#Windows Subsystem for Linux (WSL)
|
||||
Write-Host "---------- WSL make ----------" -ForegroundColor Yellow
|
||||
|
|
Loading…
Reference in a new issue