mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:20:43 +00:00
test: wait for apt locks in Parallels Linux
This commit is contained in:
@@ -437,8 +437,23 @@ class LinuxSmoke {
|
||||
this.guestExec(["hwclock", "--systohc"], { check: false });
|
||||
this.guestExec(["timedatectl", "set-ntp", "true"], { check: false });
|
||||
this.guestExec(["systemctl", "restart", "systemd-timesyncd"], { check: false });
|
||||
this.guestExec(["apt-get", "-o", "Acquire::Check-Date=false", "update"]);
|
||||
this.guestExec(["apt-get", "install", "-y", "curl", "ca-certificates"]);
|
||||
this.guestExec([
|
||||
"apt-get",
|
||||
"-o",
|
||||
"Acquire::Check-Date=false",
|
||||
"-o",
|
||||
"DPkg::Lock::Timeout=300",
|
||||
"update",
|
||||
]);
|
||||
this.guestExec([
|
||||
"apt-get",
|
||||
"-o",
|
||||
"DPkg::Lock::Timeout=300",
|
||||
"install",
|
||||
"-y",
|
||||
"curl",
|
||||
"ca-certificates",
|
||||
]);
|
||||
}
|
||||
|
||||
private installLatestRelease(): void {
|
||||
|
||||
Reference in New Issue
Block a user