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:
commit
ebfd5c2db0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user