You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/openshell-driver-vm/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,11 +182,17 @@ On Linux amd64 and arm64, `install-dev.sh` installs the Debian package from the
182
182
selected `OPENSHELL_VERSION` release tag. That package includes
183
183
`openshell-gateway` and `openshell-driver-vm`.
184
184
185
+
On Apple Silicon macOS, `install-dev.sh` installs the generated `openshell.rb`
186
+
formula from the selected release. Homebrew installs `openshell`,
187
+
`openshell-gateway`, and `openshell-driver-vm`, ad-hoc signs the driver with
188
+
the Hypervisor entitlement in `post_install`, and owns the `brew services`
189
+
gateway lifecycle.
190
+
185
191
## Relationship to `openshell-vm`
186
192
187
193
`openshell-vm` is a separate, legacy crate that runs the **whole OpenShell gateway inside a single VM**. It remains in the repository for later deprecation or removal, but is excluded from normal workspace builds and release paths. `openshell-driver-vm` is the active compute driver called by a host-resident gateway to spawn **per-sandbox VMs**. The driver vendors its own rootfs handling and runtime loader so `openshell-server` never has to link libkrun.
188
194
189
195
## TODOs
190
196
191
197
- The gateway still configures the driver via CLI args; this will move to a gRPC bootstrap call so the driver interface is uniform across backends. See the `TODO(driver-abstraction)` notes in `crates/openshell-server/src/lib.rs` and `crates/openshell-server/src/compute/vm.rs`.
192
-
- macOS local builds are codesigned by `tasks/scripts/gateway-vm.sh`; release tarball users must ad-hoc sign `openshell-driver-vm` before running VM sandboxes.
198
+
- macOS local builds are codesigned by `tasks/scripts/gateway-vm.sh`; the generated Homebrew formula signs the release tarball driver for local installs.
0 commit comments