Increase lock wait timeout for qemu_user setup (#3114)

This commit is contained in:
George Pollard 2023-05-18 08:55:47 +12:00 committed by GitHub
parent 2f478d6c0b
commit dc66164cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -982,7 +982,7 @@ class Libfuzzer(Command):
handle.write(
"#!/bin/bash\n"
"set -ex\n"
"sudo apt-get install -y qemu-user g++-aarch64-linux-gnu libasan5-arm64-cross\n"
"sudo apt-get -o DPkg::Lock::Timeout=600 install -y qemu-user g++-aarch64-linux-gnu libasan5-arm64-cross\n"
'cd $(dirname "$(readlink -f "$0")")\n'
"mkdir -p sysroot\n"
"tar -C sysroot -zxvf %s\n" % sysroot_filename