Merge pull request #9534 from filecoin-project/apt-get-timeout

_ci_: Have apt-get wait until it can get a lock in packer builds
This commit is contained in:
Geoff Stuart 2022-10-21 09:42:07 -04:00 committed by GitHub
commit ebfd5c2db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,8 @@ MANAGED_FILES=(
)
# this is required on digitalocean, which does not have snap seeded correctly at this phase.
apt-get -y update && apt-get -y reinstall snapd
apt-get -y -o DPkg::Lock::Timeout=3 update \
&& apt-get -y -o DPkg::Lock::Timeout=3 reinstall snapd
snap install lotus