Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib/onboard/sandbox-dockerfile-patch-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export async function prepareSandboxDockerfilePatch({
log,
},
);
const darwinVmCompat = false;
(deps.patchStagedDockerfile ?? patchStagedDockerfile)(
stagedDockerfile,
model,
Expand All @@ -145,7 +146,7 @@ export async function prepareSandboxDockerfilePatch({
preferredInferenceApi,
webSearchConfig,
resolved ? resolved.ref : null,
false,
darwinVmCompat,
null,
hermesToolGateways,
);
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test-openshell-gateway-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ exercise_macos_docker_rootfs_permission_regression() {
|| fail "Dockerfile is missing the macOS VM rootfs compatibility ARG"
grep -Fq "ARG NEMOCLAW_DARWIN_VM_COMPAT=\${sanitizeDockerArg(darwinVmCompat ? \"1\" : \"0\")}" src/lib/onboard/dockerfile-patch.ts \
|| fail "Dockerfile patch helper does not patch the macOS VM rootfs compatibility ARG"
grep -Fq "Docker-on-Colima uses normal container ownership" src/lib/onboard.ts \
grep -Fq "const darwinVmCompat = false;" src/lib/onboard/sandbox-dockerfile-patch-flow.ts \
|| fail "onboard does not keep macOS Docker sandbox builds out of the VM rootfs compatibility path"
grep -q "chmod -R a+rwX /sandbox/.openclaw" Dockerfile \
|| fail "Dockerfile does not relax OpenClaw state permissions for macOS VM rootfs remapping"
Expand Down
Loading