mirror of
https://github.com/apple/container.git
synced 2026-09-18 21:55:36 +00:00
This reverts commit 5f7dcd2a16. Rosetta is
setup at /run because the guest rootfs is ro, and unfortunately this
happens prior to LinuxContainer getting to mount any of this. I'm not
super happy about this, but we can figure something out later.
Additionally this adds a rosetta flag to cctl so we can quickly
spotcheck things like this again.
This commit is contained in:
@@ -56,8 +56,6 @@ extension Vminitd: VirtualMachineAgent {
|
||||
try await setenv(key: "PATH", value: Self.defaultPath)
|
||||
|
||||
let mounts: [ContainerizationOCI.Mount] = [
|
||||
// NOTE: /proc is always done implicitly by the guest agent.
|
||||
.init(type: "tmpfs", source: "tmpfs", destination: "/run"),
|
||||
.init(type: "sysfs", source: "sysfs", destination: "/sys"),
|
||||
.init(type: "tmpfs", source: "tmpfs", destination: "/tmp"),
|
||||
.init(type: "devpts", source: "devpts", destination: "/dev/pts", options: ["gid=5", "mode=620", "ptmxmode=666"]),
|
||||
|
||||
Reference in New Issue
Block a user