MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / write_fake_runtime_binaries

Function write_fake_runtime_binaries

crates/openshell-driver-vm/src/rootfs.rs:1147–1154  ·  view source on GitHub ↗
(rootfs: &Path)

Source from the content-addressed store, hash-verified

1145 }
1146
1147 fn write_fake_runtime_binaries(rootfs: &Path) {
1148 fs::write(
1149 rootfs.join("opt/openshell/bin/openshell-sandbox"),
1150 b"sandbox",
1151 )
1152 .expect("write openshell-sandbox");
1153 fs::write(rootfs.join("opt/openshell/bin/umoci"), b"umoci").expect("write umoci");
1154 }
1155}

Calls

no outgoing calls