Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
wfurt committed Aug 4, 2022
1 parent ea62c7a commit 4ab4205
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eng/pipelines/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ jobs:
submodules: recursive

- ${{ if eq(parameters.archType, 'arm64') }}:
- script: apt-get update && apt-get install qemu binfmt-support qemu-user-static docker
- script: update-binfmts --enable qemu-arm && update-binfmts --enable qemu-arm64
- script: id -a
- script: sudo apt-get update && sudo apt-get install qemu binfmt-support qemu-user-static docker
- script: sudo update-binfmts --enable qemu-arm && sudo update-binfmts --enable qemu-arm64

- ${{ if eq(parameters.osGroup, 'Windows') }}:
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
Expand Down

0 comments on commit 4ab4205

Please sign in to comment.